#254172

Closest named color: Twilight Blue (#0A437A). oklch(38% 0.091 260.8), rgb(37, 65, 114).

Aa

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

About this color

#254172 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.091 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.023 away. White text reads best on it, at 10.10:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.07:1
White text10.10:1

Values

HEX#254172
RGBrgb(37, 65, 114)
HSLhsl(218, 51%, 30%)
OKLCHoklch(38% 0.091 260.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 #254172 10.10:1 AAA Lc -97.4 Preferred for body text
Black text on #254172 2.07:1 Fails Lc 10.7 Not readable
#254172 text on white 10.10:1 AAA Lc 93.3 Preferred for body text
#254172 text on black 2.07:1 Fails Lc -9.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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF7

    oklch(93.5% 0.02 260.2)

  3. Step 200

    200

    #CBDAF3

    oklch(88.5% 0.038 260.7)

  4. Step 300

    300

    #A8C2ED

    oklch(80.9% 0.067 260.4)

  5. Step 400

    400

    #79A1E4

    oklch(70.7% 0.108 260.4)

  6. Step 500

    500

    #5788DD

    oklch(63.2% 0.139 260.7)

  7. Step 600

    600

    #3C70CA

    oklch(55.6% 0.15 260.6)

  8. Step 700

    700

    #2F5DAF

    oklch(49.1% 0.14 260.9)

  9. Step 800

    800

    #274C8E

    oklch(42.6% 0.117 261)

  10. Step 900

    900 (this color)

    #254172

    oklch(38% 0.091 260.8)

  11. Step 950

    950

    #162642

    oklch(27% 0.057 260.9)

Export this scale for Tailwind in the Tailwind colors tool

#254172 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)#2B46740.018
Deuteranopia (no green cones)#1F3E710.012
Tritanopia (no blue cones)#004C540.074
Achromatopsia (no color)#4242420.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #254172

    #254172

    oklch(38% 0.091 260.8)

  • #583D00

    #583D00

    oklch(38.1% 0.079 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254172

    #254172

    oklch(38% 0.091 260.8)

  • #004963

    #004963

    oklch(38% 0.076 230.5)

  • #43386E

    #43386E

    oklch(38% 0.09 290.8)

Open the analogous palette in the generator

Split complementary

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

  • #254172

    #254172

    oklch(38% 0.091 260.8)

  • #67310B

    #67310B

    oklch(37.9% 0.091 50.4)

  • #454600

    #454600

    oklch(38.1% 0.083 110.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254172

    #254172

    oklch(38% 0.091 260.8)

  • #6A2B2D

    #6A2B2D

    oklch(37.9% 0.09 20.5)

  • #244E1D

    #244E1D

    oklch(38.1% 0.091 140.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254172

    #254172

    oklch(38% 0.091 260.8)

  • #652B48

    #652B48

    oklch(37.9% 0.091 351.1)

  • #583D00

    #583D00

    oklch(38.1% 0.079 80.4)

  • #004F3D

    #004F3D

    oklch(38.1% 0.075 170.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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