#12518C

Closest named color: Light Navy (#155084). oklch(43% 0.115 251.6), rgb(18, 81, 140).

Aa

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

About this color

#12518C is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.115 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.013 away. White text reads best on it, at 8.13:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.58:1
White text8.13:1

Values

HEX#12518C
RGBrgb(18, 81, 140)
HSLhsl(209, 77%, 31%)
OKLCHoklch(43% 0.115 251.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 #12518C 8.13:1 AAA Lc -92.4 Preferred for body text
Black text on #12518C 2.58:1 Fails Lc 16.3 Dividers and decoration only
#12518C text on white 8.13:1 AAA Lc 87.7 Fine for body text
#12518C text on black 2.58:1 Fails Lc -14.4 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 800.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A1C4EB

    oklch(80.8% 0.067 251.4)

  5. Step 400

    400

    #6DA5E2

    oklch(70.8% 0.108 251.5)

  6. Step 500

    500

    #438DD9

    oklch(63.2% 0.137 251.4)

  7. Step 600

    600

    #1E75C7

    oklch(55.6% 0.15 251.7)

  8. Step 700

    700

    #0D62AC

    oklch(49.1% 0.139 251.6)

  9. Step 800

    800 (this color)

    #12518C

    oklch(43% 0.115 251.6)

  10. Step 900

    900

    #17436F

    oklch(37.7% 0.089 251.5)

  11. Step 950

    950

    #0F2841

    oklch(27.1% 0.056 250.6)

Export this scale for Tailwind in the Tailwind colors tool

#12518C 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)#34558E0.032
Deuteranopia (no green cones)#1E4B8B0.017
Tritanopia (no blue cones)#005F670.085
Achromatopsia (no color)#4F4F4F0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #12518C

    #12518C

    oklch(43% 0.115 251.6)

  • #6E4600

    #6E4600

    oklch(43% 0.092 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12518C

    #12518C

    oklch(43% 0.115 251.6)

  • #00596E

    #00596E

    oklch(43% 0.079 221)

  • #47458C

    #47458C

    oklch(43% 0.114 281.7)

Open the analogous palette in the generator

Split complementary

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

  • #12518C

    #12518C

    oklch(43% 0.115 251.6)

  • #823514

    #823514

    oklch(43.1% 0.115 41.4)

  • #5A5100

    #5A5100

    oklch(43% 0.09 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12518C

    #12518C

    oklch(43% 0.115 251.6)

  • #822F3F

    #822F3F

    oklch(42.9% 0.115 11.6)

  • #375C06

    #375C06

    oklch(43% 0.115 131.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12518C

    #12518C

    oklch(43% 0.115 251.6)

  • #783262

    #783262

    oklch(43% 0.115 341.3)

  • #6E4600

    #6E4600

    oklch(43% 0.092 72.3)

  • #005F3F

    #005F3F

    oklch(42.9% 0.094 161.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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