#124087

Closest named color: Twilight Blue (#0A437A). oklch(38.6% 0.129 259.4), rgb(18, 64, 135).

Aa

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

About this color

#124087 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.129 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.025 away. White text reads best on it, at 9.95:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.10:1
White text9.95:1

Values

HEX#124087
RGBrgb(18, 64, 135)
HSLhsl(216, 76%, 30%)
OKLCHoklch(38.6% 0.129 259.4)

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 #124087 9.95:1 AAA Lc -96.8 Preferred for body text
Black text on #124087 2.10:1 Fails Lc 11.3 Not readable
#124087 text on white 9.95:1 AAA Lc 92.6 Preferred for body text
#124087 text on black 2.10:1 Fails Lc -9.8 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C4DBFD

    oklch(88.5% 0.053 258)

  4. Step 300

    300

    #9CC2FF

    oklch(80.9% 0.096 259.7)

  5. Step 400

    400

    #64A0FF

    oklch(70.8% 0.153 259.2)

  6. Step 500

    500

    #3684FE

    oklch(63.1% 0.197 259.3)

  7. Step 600

    600

    #0869EE

    oklch(55.6% 0.216 259.5)

  8. Step 700

    700

    #0058CC

    oklch(49.2% 0.194 259.3)

  9. Step 800

    800

    #0348A7

    oklch(42.7% 0.165 259.3)

  10. Step 900

    900 (this color)

    #124087

    oklch(38.6% 0.129 259.4)

  11. Step 950

    950

    #0B254D

    oklch(27% 0.081 259)

Export this scale for Tailwind in the Tailwind colors tool

#124087 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)#10488A0.023
Deuteranopia (no green cones)#003E860.012
Tritanopia (no blue cones)#00515D0.098
Achromatopsia (no color)#4343430.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #124087

    #124087

    oklch(38.6% 0.129 259.4)

  • #5A3E00

    #5A3E00

    oklch(38.6% 0.08 79.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124087

    #124087

    oklch(38.6% 0.129 259.4)

  • #004B64

    #004B64

    oklch(38.6% 0.076 228.9)

  • #453283

    #453283

    oklch(38.5% 0.13 289.7)

Open the analogous palette in the generator

Split complementary

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

  • #124087

    #124087

    oklch(38.6% 0.129 259.4)

  • #6E2F00

    #6E2F00

    oklch(38.6% 0.103 49.1)

  • #474700

    #474700

    oklch(38.5% 0.084 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124087

    #124087

    oklch(38.6% 0.129 259.4)

  • #7A1B26

    #7A1B26

    oklch(38.6% 0.129 19.7)

  • #175200

    #175200

    oklch(38.5% 0.123 139.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124087

    #124087

    oklch(38.6% 0.129 259.4)

  • #721D4E

    #721D4E

    oklch(38.6% 0.129 349.4)

  • #5A3E00

    #5A3E00

    oklch(38.6% 0.08 79.8)

  • #00513D

    #00513D

    oklch(38.7% 0.077 169.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #124087 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.