#12507D

Closest named color: Light Navy (#155084). oklch(41.7% 0.096 245.7), rgb(18, 80, 125).

Aa

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

About this color

#12507D is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.096 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.012 away. White text reads best on it, at 8.50:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.46:1
White text8.50:1

Values

HEX#12507D
RGBrgb(18, 80, 125)
HSLhsl(205, 75%, 28%)
OKLCHoklch(41.7% 0.096 245.7)

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 #12507D 8.50:1 AAA Lc -93.5 Preferred for body text
Black text on #12507D 2.46:1 Fails Lc 15.1 Dividers and decoration only
#12507D text on white 8.50:1 AAA Lc 88.9 Fine for body text
#12507D text on black 2.46:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF4

    oklch(93.5% 0.016 245.1)

  3. Step 200

    200

    #C9DCED

    oklch(88.6% 0.031 245.1)

  4. Step 300

    300

    #A3C5E3

    oklch(80.9% 0.056 245.2)

  5. Step 400

    400

    #70A6D5

    oklch(70.6% 0.09 245.8)

  6. Step 500

    500

    #478FCA

    oklch(63% 0.115 245.8)

  7. Step 600

    600

    #2479B7

    oklch(55.7% 0.124 245.3)

  8. Step 700

    700

    #15659E

    oklch(49.1% 0.116 245.9)

  9. Step 800

    800 (this color)

    #12507D

    oklch(41.7% 0.096 245.7)

  10. Step 900

    900

    #1A4567

    oklch(37.8% 0.075 245.6)

  11. Step 950

    950

    #11283C

    oklch(26.9% 0.047 246.9)

Export this scale for Tailwind in the Tailwind colors tool

#12507D 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)#3B527F0.039
Deuteranopia (no green cones)#2B487C0.028
Tritanopia (no blue cones)#005B600.068
Achromatopsia (no color)#4D4D4D0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #12507D

    #12507D

    oklch(41.7% 0.096 245.7)

  • #6E4000

    #6E4000

    oklch(41.8% 0.093 65.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12507D

    #12507D

    oklch(41.7% 0.096 245.7)

  • #005666

    #005666

    oklch(41.7% 0.074 216)

  • #3E4680

    #3E4680

    oklch(41.7% 0.097 275.5)

Open the analogous palette in the generator

Split complementary

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

  • #12507D

    #12507D

    oklch(41.7% 0.096 245.7)

  • #783625

    #783625

    oklch(41.8% 0.097 35.5)

  • #5B4B00

    #5B4B00

    oklch(41.7% 0.086 94.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12507D

    #12507D

    oklch(41.7% 0.096 245.7)

  • #763345

    #763345

    oklch(41.7% 0.096 5.3)

  • #405510

    #405510

    oklch(41.8% 0.096 125.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12507D

    #12507D

    oklch(41.7% 0.096 245.7)

  • #6C3660

    #6C3660

    oklch(41.8% 0.096 336.1)

  • #6E4000

    #6E4000

    oklch(41.8% 0.093 65.7)

  • #0C5B35

    #0C5B35

    oklch(41.7% 0.096 155.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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