#12174C

Closest named color: Navy Blue (#001146). oklch(24% 0.097 272.6), rgb(18, 23, 76).

Aa

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

About this color

#12174C is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.097 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.035 away. White text reads best on it, at 16.76:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.25:1
White text16.76:1

Values

HEX#12174C
RGBrgb(18, 23, 76)
HSLhsl(235, 62%, 18%)
OKLCHoklch(24% 0.097 272.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 #12174C 16.76:1 AAA Lc -105.9 Preferred for body text
Black text on #12174C 1.25:1 Fails Lc 0.0 Not readable
#12174C text on white 16.76:1 AAA Lc 103.4 Preferred for body text
#12174C text on black 1.25:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  3. Step 200

    200

    #CCD8FF

    oklch(88.6% 0.055 271.8)

  4. Step 300

    300

    #ABBDFF

    oklch(80.9% 0.096 272.3)

  5. Step 400

    400

    #8198FF

    oklch(70.7% 0.153 272.5)

  6. Step 500

    500

    #6479FF

    oklch(63% 0.199 272.7)

  7. Step 600

    600

    #4C56FF

    oklch(55.6% 0.245 272.6)

  8. Step 700

    700

    #3E41E3

    oklch(49.1% 0.237 272.7)

  9. Step 800

    800

    #3238B7

    oklch(42.7% 0.195 272.5)

  10. Step 900

    900

    #2A3391

    oklch(37.8% 0.153 272.4)

  11. Step 950

    950 (this color)

    #12174C

    oklch(24% 0.097 272.6)

Export this scale for Tailwind in the Tailwind colors tool

#12174C 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)#00204E0.028
Deuteranopia (no green cones)#001B4B0.022
Tritanopia (no blue cones)#00252F0.078
Achromatopsia (no color)#1D1D1D0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #12174C

    #12174C

    oklch(24% 0.097 272.6)

  • #271E00

    #271E00

    oklch(23.9% 0.049 92.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12174C

    #12174C

    oklch(24% 0.097 272.6)

  • #002238

    #002238

    oklch(24.1% 0.057 241.8)

  • #290E44

    #290E44

    oklch(24.1% 0.096 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #12174C

    #12174C

    oklch(24% 0.097 272.6)

  • #311800

    #311800

    oklch(23.9% 0.055 62.2)

  • #1A2300

    #1A2300

    oklch(23.9% 0.058 122.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12174C

    #12174C

    oklch(24% 0.097 272.6)

  • #400600

    #400600

    oklch(24.1% 0.089 32.9)

  • #002710

    #002710

    oklch(23.9% 0.062 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12174C

    #12174C

    oklch(24% 0.097 272.6)

  • #40001B

    #40001B

    oklch(24% 0.097 2.6)

  • #271E00

    #271E00

    oklch(23.9% 0.049 92.8)

  • #002621

    #002621

    oklch(24.1% 0.043 182)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12174C 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.