#254571

Closest named color: Twilight Blue (#0A437A). oklch(38.9% 0.084 256.8), rgb(37, 69, 113).

Aa

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

About this color

#254571 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.084 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.026 away. White text reads best on it, at 9.68:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.16:1
White text9.68:1

Values

HEX#254571
RGBrgb(37, 69, 113)
HSLhsl(215, 51%, 29%)
OKLCHoklch(38.9% 0.084 256.8)

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 #254571 9.68:1 AAA Lc -96.5 Preferred for body text
Black text on #254571 2.16:1 Fails Lc 11.7 Not readable
#254571 text on white 9.68:1 AAA Lc 92.2 Preferred for body text
#254571 text on black 2.16:1 Fails Lc -10.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

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CBDBF1

    oklch(88.6% 0.035 256.3)

  4. Step 300

    300

    #A7C3EA

    oklch(81% 0.063 256.7)

  5. Step 400

    400

    #77A3DF

    oklch(70.8% 0.101 256.3)

  6. Step 500

    500

    #538AD6

    oklch(63% 0.129 256.8)

  7. Step 600

    600

    #3773C4

    oklch(55.7% 0.141 256.8)

  8. Step 700

    700

    #2960A9

    oklch(49.1% 0.131 256.6)

  9. Step 800

    800

    #234F89

    oklch(42.8% 0.108 256.4)

  10. Step 900

    900 (this color)

    #254571

    oklch(38.9% 0.084 256.8)

  11. Step 950

    950

    #142740

    oklch(27% 0.053 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#254571 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)#3248730.019
Deuteranopia (no green cones)#2741700.012
Tritanopia (no blue cones)#004F550.069
Achromatopsia (no color)#4444440.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #254571

    #254571

    oklch(38.9% 0.084 256.8)

  • #5D3E00

    #5D3E00

    oklch(39% 0.082 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254571

    #254571

    oklch(38.9% 0.084 256.8)

  • #004C63

    #004C63

    oklch(38.8% 0.075 226.4)

  • #423D6F

    #423D6F

    oklch(39% 0.083 286.4)

Open the analogous palette in the generator

Split complementary

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

  • #254571

    #254571

    oklch(38.9% 0.084 256.8)

  • #683419

    #683419

    oklch(38.7% 0.084 46.3)

  • #4A4700

    #4A4700

    oklch(38.8% 0.083 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254571

    #254571

    oklch(38.9% 0.084 256.8)

  • #6A3034

    #6A3034

    oklch(38.9% 0.083 17.5)

  • #2E4F1F

    #2E4F1F

    oklch(39% 0.084 136.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254571

    #254571

    oklch(38.9% 0.084 256.8)

  • #64304E

    #64304E

    oklch(38.8% 0.085 346.1)

  • #5D3E00

    #5D3E00

    oklch(39% 0.082 77)

  • #00523B

    #00523B

    oklch(38.9% 0.08 166.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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