#254D8A

Closest named color: Dusk Blue (#26538D). oklch(42.5% 0.111 258.7), rgb(37, 77, 138).

Aa

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

About this color

#254D8A is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.111 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.018 away. White text reads best on it, at 8.37:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.111)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.50:1
White text8.37:1

Values

HEX#254D8A
RGBrgb(37, 77, 138)
HSLhsl(216, 58%, 34%)
OKLCHoklch(42.5% 0.111 258.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 #254D8A 8.37:1 AAA Lc -93.2 Preferred for body text
Black text on #254D8A 2.50:1 Fails Lc 15.4 Dividers and decoration only
#254D8A text on white 8.37:1 AAA Lc 88.6 Fine for body text
#254D8A text on black 2.50:1 Fails Lc -13.6 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EAF7

    oklch(93.5% 0.02 260.2)

  3. Step 200

    200

    #CBDAF2

    oklch(88.5% 0.037 259.8)

  4. Step 300

    300

    #A8C2EB

    oklch(80.9% 0.065 259.4)

  5. Step 400

    400

    #78A2E1

    oklch(70.7% 0.104 258.3)

  6. Step 500

    500

    #5589D9

    oklch(63% 0.134 258.7)

  7. Step 600

    600

    #3A72C6

    oklch(55.7% 0.143 258.4)

  8. Step 700

    700

    #2C5FAB

    oklch(49.1% 0.133 258.4)

  9. Step 800

    800 (this color)

    #254D8A

    oklch(42.5% 0.111 258.7)

  10. Step 900

    900

    #23416F

    oklch(37.7% 0.087 258.7)

  11. Step 950

    950

    #152641

    oklch(26.9% 0.056 259.3)

Export this scale for Tailwind in the Tailwind colors tool

#254D8A 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)#2F538C0.022
Deuteranopia (no green cones)#1E49890.014
Tritanopia (no blue cones)#005B640.088
Achromatopsia (no color)#4E4E4E0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #254D8A

    #254D8A

    oklch(42.5% 0.111 258.7)

  • #684700

    #684700

    oklch(42.4% 0.088 78.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254D8A

    #254D8A

    oklch(42.5% 0.111 258.7)

  • #005672

    #005672

    oklch(42.4% 0.083 228.8)

  • #4D4187

    #4D4187

    oklch(42.4% 0.113 288.5)

Open the analogous palette in the generator

Split complementary

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

  • #254D8A

    #254D8A

    oklch(42.5% 0.111 258.7)

  • #7D3705

    #7D3705

    oklch(42.5% 0.112 48.4)

  • #535200

    #535200

    oklch(42.6% 0.092 108.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254D8A

    #254D8A

    oklch(42.5% 0.111 258.7)

  • #803036

    #803036

    oklch(42.5% 0.111 18.7)

  • #2B5C19

    #2B5C19

    oklch(42.5% 0.111 138.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254D8A

    #254D8A

    oklch(42.5% 0.111 258.7)

  • #793158

    #793158

    oklch(42.6% 0.111 349.2)

  • #684700

    #684700

    oklch(42.4% 0.088 78.4)

  • #005D46

    #005D46

    oklch(42.5% 0.085 168.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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