#125799

Closest named color: Dusk Blue (#26538D). oklch(45.3% 0.126 252.3), rgb(18, 87, 153).

Aa

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

About this color

#125799 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.126 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.022 away. White text reads best on it, at 7.37:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.84:1
White text7.37:1

Values

HEX#125799
RGBrgb(18, 87, 153)
HSLhsl(209, 79%, 34%)
OKLCHoklch(45.3% 0.126 252.3)

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 #125799 7.37:1 AAA Lc -90.0 Preferred for body text
Black text on #125799 2.84:1 Fails Lc 18.9 Dividers and decoration only
#125799 text on white 7.37:1 AAA Lc 85.1 Fine for body text
#125799 text on black 2.84:1 Fails Lc -16.9 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

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C6DBF4

    oklch(88.4% 0.041 252.8)

  4. Step 300

    300

    #9FC4EF

    oklch(80.9% 0.073 252.5)

  5. Step 400

    400

    #68A4E8

    oklch(70.6% 0.118 252.6)

  6. Step 500

    500

    #3B8CE1

    oklch(63.1% 0.15 252.3)

  7. Step 600

    600

    #0C74CF

    oklch(55.6% 0.164 252.4)

  8. Step 700

    700

    #0061B1

    oklch(49.1% 0.148 252.3)

  9. Step 800

    800 (this color)

    #125799

    oklch(45.3% 0.126 252.3)

  10. Step 900

    900

    #124373

    oklch(37.8% 0.097 251.8)

  11. Step 950

    950

    #0D2744

    oklch(27% 0.063 253.3)

Export this scale for Tailwind in the Tailwind colors tool

#125799 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)#355C9C0.033
Deuteranopia (no green cones)#1C50980.019
Tritanopia (no blue cones)#0067700.093
Achromatopsia (no color)#5656560.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #125799

    #125799

    oklch(45.3% 0.126 252.3)

  • #764C00

    #764C00

    oklch(45.3% 0.096 73)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #125799

    #125799

    oklch(45.3% 0.126 252.3)

  • #006078

    #006078

    oklch(45.4% 0.084 222.6)

  • #4D4A99

    #4D4A99

    oklch(45.4% 0.125 281.9)

Open the analogous palette in the generator

Split complementary

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

  • #125799

    #125799

    oklch(45.3% 0.126 252.3)

  • #8D380F

    #8D380F

    oklch(45.3% 0.126 42.3)

  • #615700

    #615700

    oklch(45.2% 0.095 101.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #125799

    #125799

    oklch(45.3% 0.126 252.3)

  • #8E3143

    #8E3143

    oklch(45.3% 0.126 12.1)

  • #3A6402

    #3A6402

    oklch(45.5% 0.126 132.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #125799

    #125799

    oklch(45.3% 0.126 252.3)

  • #833469

    #833469

    oklch(45.3% 0.126 342.3)

  • #764C00

    #764C00

    oklch(45.3% 0.096 73)

  • #006745

    #006745

    oklch(45.4% 0.1 162.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #125799 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.