#12417A

Closest named color: Twilight Blue (#0A437A). oklch(37.8% 0.109 255.8), rgb(18, 65, 122).

Aa

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

About this color

#12417A is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.109 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.006 away. White text reads best on it, at 10.18:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.06:1
White text10.18:1

Values

HEX#12417A
RGBrgb(18, 65, 122)
HSLhsl(213, 74%, 27%)
OKLCHoklch(37.8% 0.109 255.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 #12417A 10.18:1 AAA Lc -97.3 Preferred for body text
Black text on #12417A 2.06:1 Fails Lc 10.7 Not readable
#12417A text on white 10.18:1 AAA Lc 93.2 Preferred for body text
#12417A text on black 2.06:1 Fails Lc -9.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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C6DBF8

    oklch(88.5% 0.046 256.5)

  4. Step 300

    300

    #9EC3F5

    oklch(80.8% 0.082 256.1)

  5. Step 400

    400

    #67A3F1

    oklch(70.8% 0.131 255.5)

  6. Step 500

    500

    #3A89EC

    oklch(63.1% 0.168 255.8)

  7. Step 600

    600

    #0E70DA

    oklch(55.5% 0.182 255.8)

  8. Step 700

    700

    #005EBC

    oklch(49.2% 0.166 255.7)

  9. Step 800

    800

    #064D99

    oklch(42.8% 0.14 255.7)

  10. Step 900

    900 (this color)

    #12417A

    oklch(37.8% 0.109 255.8)

  11. Step 950

    950

    #0C2647

    oklch(26.9% 0.069 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#12417A 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)#23467C0.022
Deuteranopia (no green cones)#0B3D790.013
Tritanopia (no blue cones)#004F570.084
Achromatopsia (no color)#4141410.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #12417A

    #12417A

    oklch(37.8% 0.109 255.8)

  • #5A3B00

    #5A3B00

    oklch(37.9% 0.08 75.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12417A

    #12417A

    oklch(37.8% 0.109 255.8)

  • #00495F

    #00495F

    oklch(37.8% 0.072 226.2)

  • #3E3678

    #3E3678

    oklch(37.8% 0.109 285.5)

Open the analogous palette in the generator

Split complementary

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

  • #12417A

    #12417A

    oklch(37.8% 0.109 255.8)

  • #6D2A00

    #6D2A00

    oklch(37.7% 0.107 45.6)

  • #484400

    #484400

    oklch(37.8% 0.081 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12417A

    #12417A

    oklch(37.8% 0.109 255.8)

  • #70232E

    #70232E

    oklch(37.8% 0.108 15.6)

  • #244E03

    #244E03

    oklch(37.8% 0.11 135.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12417A

    #12417A

    oklch(37.8% 0.109 255.8)

  • #68254E

    #68254E

    oklch(37.8% 0.108 345.8)

  • #5A3B00

    #5A3B00

    oklch(37.9% 0.08 75.8)

  • #004F38

    #004F38

    oklch(37.9% 0.079 165.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12417A 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.