#12387E

Closest named color: Twilight Blue (#0A437A). oklch(36% 0.126 261.3), rgb(18, 56, 126).

Aa

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

About this color

#12387E is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.126 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.033 away. White text reads best on it, at 11.09:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.89:1
White text11.09:1

Values

HEX#12387E
RGBrgb(18, 56, 126)
HSLhsl(219, 75%, 28%)
OKLCHoklch(36% 0.126 261.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 #12387E 11.09:1 AAA Lc -99.0 Preferred for body text
Black text on #12387E 1.89:1 Fails Lc 8.8 Not readable
#12387E text on white 11.09:1 AAA Lc 95.1 Preferred for body text
#12387E text on black 1.89:1 Fails Lc -7.5 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C6DAFD

    oklch(88.5% 0.053 261.7)

  4. Step 300

    300

    #9EC1FE

    oklch(80.8% 0.095 261.3)

  5. Step 400

    400

    #699FFE

    oklch(70.7% 0.151 261)

  6. Step 500

    500

    #4183FC

    oklch(63.1% 0.193 261.3)

  7. Step 600

    600

    #2068EC

    oklch(55.6% 0.212 261.4)

  8. Step 700

    700

    #1356CD

    oklch(49.1% 0.196 261.2)

  9. Step 800

    800

    #1347A6

    oklch(42.7% 0.163 261.3)

  10. Step 900

    900 (this color)

    #12387E

    oklch(36% 0.126 261.3)

  11. Step 950

    950

    #0E244D

    oklch(26.9% 0.081 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#12387E 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)#0041800.025
Deuteranopia (no green cones)#00377D0.011
Tritanopia (no blue cones)#0049550.097
Achromatopsia (no color)#3C3C3C0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #12387E

    #12387E

    oklch(36% 0.126 261.3)

  • #513800

    #513800

    oklch(36% 0.074 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12387E

    #12387E

    oklch(36% 0.126 261.3)

  • #00435C

    #00435C

    oklch(35.9% 0.073 231.3)

  • #402B79

    #402B79

    oklch(36% 0.127 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #12387E

    #12387E

    oklch(36% 0.126 261.3)

  • #622B00

    #622B00

    oklch(35.9% 0.094 50.9)

  • #3F4100

    #3F4100

    oklch(36.1% 0.08 111.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12387E

    #12387E

    oklch(36% 0.126 261.3)

  • #71131D

    #71131D

    oklch(36% 0.127 21.4)

  • #094B00

    #094B00

    oklch(36% 0.119 141.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12387E

    #12387E

    oklch(36% 0.126 261.3)

  • #6A1545

    #6A1545

    oklch(36% 0.127 351)

  • #513800

    #513800

    oklch(36% 0.074 80.6)

  • #004938

    #004938

    oklch(36.1% 0.071 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12387E 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.