#12487F

Closest named color: Twilight Blue (#0A437A). oklch(39.9% 0.108 252.8), rgb(18, 72, 127).

Aa

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

About this color

#12487F is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.108 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.018 away. White text reads best on it, at 9.29:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.25:1
White text9.29:1

Values

HEX#12487F
RGBrgb(18, 72, 127)
HSLhsl(210, 75%, 28%)
OKLCHoklch(39.9% 0.108 252.8)

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 #12487F 9.29:1 AAA Lc -95.4 Preferred for body text
Black text on #12487F 2.25:1 Fails Lc 12.9 Not readable
#12487F text on white 9.29:1 AAA Lc 91.0 Preferred for body text
#12487F text on black 2.25:1 Fails Lc -11.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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DCF7

    oklch(88.6% 0.045 252.5)

  4. Step 300

    300

    #9CC4F4

    oklch(80.9% 0.081 253.3)

  5. Step 400

    400

    #62A4EF

    oklch(70.7% 0.13 252.8)

  6. Step 500

    500

    #308BE9

    oklch(63.1% 0.165 252.7)

  7. Step 600

    600

    #0073D3

    oklch(55.6% 0.171 252.9)

  8. Step 700

    700

    #0061B3

    oklch(49.2% 0.151 252.8)

  9. Step 800

    800

    #004F94

    oklch(42.8% 0.131 252.8)

  10. Step 900

    900 (this color)

    #12487F

    oklch(39.9% 0.108 252.8)

  11. Step 950

    950

    #092746

    oklch(26.9% 0.068 252.4)

Export this scale for Tailwind in the Tailwind colors tool

#12487F 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)#2C4C810.027
Deuteranopia (no green cones)#19437E0.014
Tritanopia (no blue cones)#00555D0.080
Achromatopsia (no color)#4747470.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #12487F

    #12487F

    oklch(39.9% 0.108 252.8)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12487F

    #12487F

    oklch(39.9% 0.108 252.8)

  • #005064

    #005064

    oklch(40% 0.074 222)

  • #413D7F

    #413D7F

    oklch(39.9% 0.108 283.1)

Open the analogous palette in the generator

Split complementary

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

  • #12487F

    #12487F

    oklch(39.9% 0.108 252.8)

  • #752F0D

    #752F0D

    oklch(39.9% 0.108 42.8)

  • #504900

    #504900

    oklch(40% 0.084 103.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12487F

    #12487F

    oklch(39.9% 0.108 252.8)

  • #762937

    #762937

    oklch(39.9% 0.108 12.5)

  • #2F5306

    #2F5306

    oklch(40% 0.108 132.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12487F

    #12487F

    oklch(39.9% 0.108 252.8)

  • #6D2C56

    #6D2C56

    oklch(39.9% 0.107 343.4)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

  • #005539

    #005539

    oklch(39.8% 0.086 162.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12487F 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.