#12518D

Closest named color: Light Navy (#155084). oklch(43% 0.116 251.9), rgb(18, 81, 141).

Aa

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

About this color

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

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

Values

HEX#12518D
RGBrgb(18, 81, 141)
HSLhsl(209, 77%, 31%)
OKLCHoklch(43% 0.116 251.9)

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 #12518D 8.11:1 AAA Lc -92.3 Preferred for body text
Black text on #12518D 2.58:1 Fails Lc 16.4 Dividers and decoration only
#12518D text on white 8.11:1 AAA Lc 87.6 Fine for body text
#12518D text on black 2.58:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  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

    #A1C4EC

    oklch(80.9% 0.068 252)

  5. Step 400

    400

    #6DA5E3

    oklch(70.8% 0.109 251.9)

  6. Step 500

    500

    #428CDA

    oklch(63% 0.139 252)

  7. Step 600

    600

    #1D75C8

    oklch(55.6% 0.151 251.9)

  8. Step 700

    700

    #0D62AD

    oklch(49.2% 0.14 251.8)

  9. Step 800

    800 (this color)

    #12518D

    oklch(43% 0.116 251.9)

  10. Step 900

    900

    #174370

    oklch(37.7% 0.091 252)

  11. Step 950

    950

    #0F2741

    oklch(26.8% 0.057 252.3)

Export this scale for Tailwind in the Tailwind colors tool

#12518D 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)#33558F0.031
Deuteranopia (no green cones)#1D4B8C0.017
Tritanopia (no blue cones)#005F680.085
Achromatopsia (no color)#5050500.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #12518D

    #12518D

    oklch(43% 0.116 251.9)

  • #6E4600

    #6E4600

    oklch(43% 0.092 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12518D

    #12518D

    oklch(43% 0.116 251.9)

  • #00596F

    #00596F

    oklch(43% 0.08 222.1)

  • #47458D

    #47458D

    oklch(43% 0.116 281.6)

Open the analogous palette in the generator

Split complementary

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

  • #12518D

    #12518D

    oklch(43% 0.116 251.9)

  • #823512

    #823512

    oklch(43% 0.116 42.1)

  • #5A5100

    #5A5100

    oklch(43% 0.09 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12518D

    #12518D

    oklch(43% 0.116 251.9)

  • #832F3F

    #832F3F

    oklch(43.1% 0.116 11.9)

  • #375C05

    #375C05

    oklch(43% 0.116 131.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12518D

    #12518D

    oklch(43% 0.116 251.9)

  • #793162

    #793162

    oklch(43% 0.118 341.7)

  • #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 #12518D, closest first.

Similar named colors

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

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