#254971

Closest named color: Twilight Blue (#0A437A). oklch(39.9% 0.08 252.6), rgb(37, 73, 113).

Aa

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

About this color

#254971 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.080 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.034 away. White text reads best on it, at 9.25:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.27:1
White text9.25:1

Values

HEX#254971
RGBrgb(37, 73, 113)
HSLhsl(212, 51%, 29%)
OKLCHoklch(39.9% 0.08 252.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 #254971 9.25:1 AAA Lc -95.5 Preferred for body text
Black text on #254971 2.27:1 Fails Lc 12.8 Not readable
#254971 text on white 9.25:1 AAA Lc 91.1 Preferred for body text
#254971 text on black 2.27:1 Fails Lc -11.2 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 900.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CADBEF

    oklch(88.5% 0.033 252.5)

  4. Step 300

    300

    #A6C4E7

    oklch(81% 0.059 252.5)

  5. Step 400

    400

    #75A4DB

    oklch(70.7% 0.096 253)

  6. Step 500

    500

    #4F8CD1

    oklch(63% 0.123 252.9)

  7. Step 600

    600

    #3175BE

    oklch(55.5% 0.133 252.7)

  8. Step 700

    700

    #2362A4

    oklch(49.1% 0.123 252.7)

  9. Step 800

    800

    #1F5085

    oklch(42.6% 0.103 252.9)

  10. Step 900

    900 (this color)

    #254971

    oklch(39.9% 0.08 252.6)

  11. Step 950

    950

    #13273E

    oklch(26.8% 0.05 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#254971 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)#384B730.024
Deuteranopia (no green cones)#2D44700.016
Tritanopia (no blue cones)#0052570.064
Achromatopsia (no color)#4747470.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #254971

    #254971

    oklch(39.9% 0.08 252.6)

  • #613F09

    #613F09

    oklch(39.8% 0.08 72.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254971

    #254971

    oklch(39.9% 0.08 252.6)

  • #005064

    #005064

    oklch(40% 0.074 222)

  • #414171

    #414171

    oklch(39.9% 0.08 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #254971

    #254971

    oklch(39.9% 0.08 252.6)

  • #6A3722

    #6A3722

    oklch(39.7% 0.08 42.5)

  • #504907

    #504907

    oklch(40% 0.08 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254971

    #254971

    oklch(39.9% 0.08 252.6)

  • #6B333B

    #6B333B

    oklch(39.7% 0.08 12.4)

  • #365020

    #365020

    oklch(39.8% 0.08 132.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254971

    #254971

    oklch(39.9% 0.08 252.6)

  • #643553

    #643553

    oklch(39.9% 0.079 342.4)

  • #613F09

    #613F09

    oklch(39.8% 0.08 72.4)

  • #0F543A

    #0F543A

    oklch(39.7% 0.08 162.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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