#254A78

Closest named color: Light Navy (#155084). oklch(40.6% 0.089 255), rgb(37, 74, 120).

Aa

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

About this color

#254A78 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.089 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.025 away. White text reads best on it, at 9.01:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.32:1
White text9.01:1

Values

HEX#254A78
RGBrgb(37, 74, 120)
HSLhsl(213, 53%, 31%)
OKLCHoklch(40.6% 0.089 255)

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 #254A78 9.01:1 AAA Lc -94.9 Preferred for body text
Black text on #254A78 2.32:1 Fails Lc 13.5 Not readable
#254A78 text on white 9.01:1 AAA Lc 90.5 Preferred for body text
#254A78 text on black 2.32:1 Fails Lc -11.8 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF4

    oklch(93.7% 0.015 251.2)

  3. Step 200

    200

    #CDDBEC

    oklch(88.6% 0.028 253.2)

  4. Step 300

    300

    #ABC3E2

    oklch(80.9% 0.051 254.9)

  5. Step 400

    400

    #7DA3D4

    oklch(70.6% 0.083 255.1)

  6. Step 500

    500

    #5C8CC8

    oklch(63.1% 0.105 254.6)

  7. Step 600

    600

    #4175B5

    oklch(55.6% 0.115 254.7)

  8. Step 700

    700

    #33629C

    oklch(49.2% 0.107 254.8)

  9. Step 800

    800 (this color)

    #254A78

    oklch(40.6% 0.089 255)

  10. Step 900

    900

    #274366

    oklch(37.8% 0.069 254.8)

  11. Step 950

    950

    #17273B

    oklch(26.9% 0.043 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#254A78 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)#364D7A0.023
Deuteranopia (no green cones)#2A45770.015
Tritanopia (no blue cones)#00555B0.072
Achromatopsia (no color)#4949490.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #254A78

    #254A78

    oklch(40.6% 0.089 255)

  • #644100

    #644100

    oklch(40.6% 0.086 74.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254A78

    #254A78

    oklch(40.6% 0.089 255)

  • #005168

    #005168

    oklch(40.5% 0.077 225.1)

  • #454177

    #454177

    oklch(40.6% 0.089 285.1)

Open the analogous palette in the generator

Split complementary

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

  • #254A78

    #254A78

    oklch(40.6% 0.089 255)

  • #70371C

    #70371C

    oklch(40.6% 0.09 44.5)

  • #504B00

    #504B00

    oklch(40.5% 0.086 105.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254A78

    #254A78

    oklch(40.6% 0.089 255)

  • #713239

    #713239

    oklch(40.4% 0.089 15.1)

  • #33531F

    #33531F

    oklch(40.4% 0.088 135)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254A78

    #254A78

    oklch(40.6% 0.089 255)

  • #6A3454

    #6A3454

    oklch(40.6% 0.088 345.2)

  • #644100

    #644100

    oklch(40.6% 0.086 74.5)

  • #00573D

    #00573D

    oklch(40.5% 0.085 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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