#254E95

Closest named color: Cobalt (#1E488F). oklch(43.5% 0.126 260.6), rgb(37, 78, 149).

Aa

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

About this color

#254E95 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.126 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.021 away. White text reads best on it, at 8.06:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.60:1
White text8.06:1

Values

HEX#254E95
RGBrgb(37, 78, 149)
HSLhsl(218, 60%, 36%)
OKLCHoklch(43.5% 0.126 260.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 #254E95 8.06:1 AAA Lc -92.3 Preferred for body text
Black text on #254E95 2.60:1 Fails Lc 16.4 Dividers and decoration only
#254E95 text on white 8.06:1 AAA Lc 87.6 Fine for body text
#254E95 text on black 2.60: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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF5

    oklch(88.5% 0.041 260.9)

  4. Step 300

    300

    #A6C2F1

    oklch(81% 0.073 260.7)

  5. Step 400

    400

    #76A1EA

    oklch(70.8% 0.117 260.6)

  6. Step 500

    500

    #5287E3

    oklch(63.1% 0.15 260.7)

  7. Step 600

    600

    #366FD1

    oklch(55.6% 0.163 260.5)

  8. Step 700

    700

    #295CB5

    oklch(49.1% 0.152 260.7)

  9. Step 800

    800 (this color)

    #254E95

    oklch(43.5% 0.126 260.6)

  10. Step 900

    900

    #214075

    oklch(37.7% 0.098 260.4)

  11. Step 950

    950

    #142644

    oklch(27% 0.061 260.1)

Export this scale for Tailwind in the Tailwind colors tool

#254E95 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)#2855980.021
Deuteranopia (no green cones)#0D4B940.020
Tritanopia (no blue cones)#005F6A0.100
Achromatopsia (no color)#5050500.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #254E95

    #254E95

    oklch(43.5% 0.126 260.6)

  • #6A4B00

    #6A4B00

    oklch(43.5% 0.09 81.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254E95

    #254E95

    oklch(43.5% 0.126 260.6)

  • #005978

    #005978

    oklch(43.5% 0.087 230.7)

  • #534190

    #534190

    oklch(43.6% 0.125 290.7)

Open the analogous palette in the generator

Split complementary

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

  • #254E95

    #254E95

    oklch(43.5% 0.126 260.6)

  • #803A00

    #803A00

    oklch(43.4% 0.114 50.7)

  • #545500

    #545500

    oklch(43.4% 0.095 110.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254E95

    #254E95

    oklch(43.5% 0.126 260.6)

  • #892D32

    #892D32

    oklch(43.6% 0.125 20.9)

  • #226114

    #226114

    oklch(43.5% 0.126 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254E95

    #254E95

    oklch(43.5% 0.126 260.6)

  • #812D5A

    #812D5A

    oklch(43.4% 0.126 350.4)

  • #6A4B00

    #6A4B00

    oklch(43.5% 0.09 81.3)

  • #00604A

    #00604A

    oklch(43.5% 0.086 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #254E95 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.