#123F5D

Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.3% 0.071 242.3), rgb(18, 63, 93).

Aa

White text reads best on this color (11.08:1).

About this color

#123F5D is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.071 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.029 away. White text reads best on it, at 11.08:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.89:1
White text11.08:1

Values

HEX#123F5D
RGBrgb(18, 63, 93)
HSLhsl(204, 68%, 22%)
OKLCHoklch(35.3% 0.071 242.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #123F5D 11.08:1 AAA Lc -99.2 Preferred for body text
Black text on #123F5D 1.89:1 Fails Lc 8.6 Not readable
#123F5D text on white 11.08:1 AAA Lc 95.3 Preferred for body text
#123F5D text on black 1.89:1 Fails Lc -7.3 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF3

    oklch(93.5% 0.015 241.8)

  3. Step 200

    200

    #C9DCEB

    oklch(88.5% 0.029 241.6)

  4. Step 300

    300

    #A3C5E1

    oklch(80.8% 0.054 243.3)

  5. Step 400

    400

    #70A7D1

    oklch(70.6% 0.085 242.3)

  6. Step 500

    500

    #4691C6

    oklch(63.2% 0.109 242.1)

  7. Step 600

    600

    #227AB2

    oklch(55.6% 0.118 242.1)

  8. Step 700

    700

    #126699

    oklch(49% 0.11 242.4)

  9. Step 800

    800

    #14547C

    oklch(42.7% 0.091 241.8)

  10. Step 900

    900 (this color)

    #123F5D

    oklch(35.3% 0.071 242.3)

  11. Step 950

    950

    #10293A

    oklch(27% 0.044 240.8)

Export this scale for Tailwind in the Tailwind colors tool

#123F5D with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#31405E0.034
Deuteranopia (no green cones)#27395C0.026
Tritanopia (no blue cones)#00464A0.047
Achromatopsia (no color)#3C3C3C0.071

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #123F5D

    #123F5D

    oklch(35.3% 0.071 242.3)

  • #55320D

    #55320D

    oklch(35.3% 0.071 62.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123F5D

    #123F5D

    oklch(35.3% 0.071 242.3)

  • #00434E

    #00434E

    oklch(35.2% 0.062 213)

  • #2F3860

    #2F3860

    oklch(35.3% 0.071 272.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #123F5D

    #123F5D

    oklch(35.3% 0.071 242.3)

  • #5B2C23

    #5B2C23

    oklch(35.4% 0.071 32.1)

  • #483A02

    #483A02

    oklch(35.3% 0.071 93.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123F5D

    #123F5D

    oklch(35.3% 0.071 242.3)

  • #592A38

    #592A38

    oklch(35.3% 0.071 2.5)

  • #354112

    #354112

    oklch(35.3% 0.071 122.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123F5D

    #123F5D

    oklch(35.3% 0.071 242.3)

  • #512C4C

    #512C4C

    oklch(35.3% 0.072 332.1)

  • #55320D

    #55320D

    oklch(35.3% 0.071 62.7)

  • #194628

    #194628

    oklch(35.4% 0.072 151.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #123F5D, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #123F5D in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.