#12417D

Closest named color: Twilight Blue (#0A437A). oklch(38% 0.113 256.6), rgb(18, 65, 125).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.07:1
White text10.10:1

Values

HEX#12417D
RGBrgb(18, 65, 125)
HSLhsl(214, 75%, 28%)
OKLCHoklch(38% 0.113 256.6)

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 #12417D 10.10:1 AAA Lc -97.2 Preferred for body text
Black text on #12417D 2.07:1 Fails Lc 10.9 Not readable
#12417D text on white 10.10:1 AAA Lc 93.0 Preferred for body text
#12417D text on black 2.07:1 Fails Lc -9.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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBF9

    oklch(88.5% 0.047 257.3)

  4. Step 300

    300

    #9DC3F8

    oklch(80.9% 0.086 256.8)

  5. Step 400

    400

    #66A2F4

    oklch(70.7% 0.136 256.5)

  6. Step 500

    500

    #3988F0

    oklch(63.1% 0.174 256.7)

  7. Step 600

    600

    #0B6FDE

    oklch(55.6% 0.188 256.5)

  8. Step 700

    700

    #005CBF

    oklch(49% 0.172 256.8)

  9. Step 800

    800

    #054C9C

    oklch(42.7% 0.145 256.5)

  10. Step 900

    900 (this color)

    #12417D

    oklch(38% 0.113 256.6)

  11. Step 950

    950

    #0C2649

    oklch(27% 0.072 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#12417D 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)#20477F0.023
Deuteranopia (no green cones)#033D7C0.015
Tritanopia (no blue cones)#004F590.085
Achromatopsia (no color)#4242420.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #12417D

    #12417D

    oklch(38% 0.113 256.6)

  • #5A3C00

    #5A3C00

    oklch(38.1% 0.08 77.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12417D

    #12417D

    oklch(38% 0.113 256.6)

  • #004A60

    #004A60

    oklch(38.1% 0.073 225.9)

  • #40357B

    #40357B

    oklch(38% 0.114 286.8)

Open the analogous palette in the generator

Split complementary

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

  • #12417D

    #12417D

    oklch(38% 0.113 256.6)

  • #6E2C00

    #6E2C00

    oklch(38.1% 0.106 46.7)

  • #484500

    #484500

    oklch(38.1% 0.082 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12417D

    #12417D

    oklch(38% 0.113 256.6)

  • #72212C

    #72212C

    oklch(37.9% 0.113 16.6)

  • #214F01

    #214F01

    oklch(38% 0.114 136.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12417D

    #12417D

    oklch(38% 0.113 256.6)

  • #6B234E

    #6B234E

    oklch(38% 0.114 347)

  • #5A3C00

    #5A3C00

    oklch(38.1% 0.08 77.1)

  • #004F39

    #004F39

    oklch(37.9% 0.078 166.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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