#12579C

Closest named color: Dusk Blue (#26538D). oklch(45.5% 0.13 253.2), rgb(18, 87, 156).

Aa

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

About this color

#12579C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.130 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.026 away. White text reads best on it, at 7.31:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.86:1
White text7.31:1

Values

HEX#12579C
RGBrgb(18, 87, 156)
HSLhsl(210, 79%, 34%)
OKLCHoklch(45.5% 0.13 253.2)

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 #12579C 7.31:1 AAA Lc -89.8 Fine for body text
Black text on #12579C 2.86:1 Fails Lc 19.1 Dividers and decoration only
#12579C text on white 7.31:1 AAA Lc 84.9 Fine for body text
#12579C text on black 2.86:1 Fails Lc -17.1 Dividers and decoration only

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

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF5

    oklch(88.4% 0.042 253.8)

  4. Step 300

    300

    #9EC4F1

    oklch(80.9% 0.076 253)

  5. Step 400

    400

    #68A4EA

    oklch(70.7% 0.121 253.2)

  6. Step 500

    500

    #3A8BE4

    oklch(63.1% 0.155 253.3)

  7. Step 600

    600

    #0A73D2

    oklch(55.6% 0.169 253.2)

  8. Step 700

    700

    #0060B4

    oklch(49.1% 0.153 253.4)

  9. Step 800

    800 (this color)

    #12579C

    oklch(45.5% 0.13 253.2)

  10. Step 900

    900

    #114275

    oklch(37.6% 0.101 253.1)

  11. Step 950

    950

    #0C2745

    oklch(27% 0.065 253.3)

Export this scale for Tailwind in the Tailwind colors tool

#12579C 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)#335D9F0.032
Deuteranopia (no green cones)#17519B0.017
Tritanopia (no blue cones)#0068720.096
Achromatopsia (no color)#5656560.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #12579C

    #12579C

    oklch(45.5% 0.13 253.2)

  • #774D00

    #774D00

    oklch(45.6% 0.097 73.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12579C

    #12579C

    oklch(45.5% 0.13 253.2)

  • #006079

    #006079

    oklch(45.4% 0.085 223.6)

  • #4F499B

    #4F499B

    oklch(45.5% 0.129 283.3)

Open the analogous palette in the generator

Split complementary

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

  • #12579C

    #12579C

    oklch(45.5% 0.13 253.2)

  • #8F3808

    #8F3808

    oklch(45.6% 0.129 43.3)

  • #615800

    #615800

    oklch(45.5% 0.095 102.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12579C

    #12579C

    oklch(45.5% 0.13 253.2)

  • #903041

    #903041

    oklch(45.5% 0.13 13.4)

  • #386500

    #386500

    oklch(45.6% 0.129 133.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12579C

    #12579C

    oklch(45.5% 0.13 253.2)

  • #853369

    #853369

    oklch(45.4% 0.13 343.2)

  • #774D00

    #774D00

    oklch(45.6% 0.097 73.3)

  • #006747

    #006747

    oklch(45.5% 0.098 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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