#252D40

Closest named color: Space Cadet (#2B2D42). oklch(29.9% 0.036 266.6), rgb(37, 45, 64).

Aa

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

About this color

#252D40 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.036 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.011 away. White text reads best on it, at 13.74:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.036)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.52:1
White text13.74:1

Values

HEX#252D40
RGBrgb(37, 45, 64)
HSLhsl(222, 27%, 20%)
OKLCHoklch(29.9% 0.036 266.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 #252D40 13.74:1 AAA Lc -103.4 Preferred for body text
Black text on #252D40 1.52:1 Fails Lc 0.0 Not readable
#252D40 text on white 13.74:1 AAA Lc 100.3 Preferred for body text
#252D40 text on black 1.52:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EA

    oklch(88.5% 0.025 267.9)

  4. Step 300

    300

    #B4C1DD

    oklch(81% 0.042 265.7)

  5. Step 400

    400

    #8DA0CD

    oklch(70.7% 0.07 266.8)

  6. Step 500

    500

    #7188C0

    oklch(63.1% 0.089 266.8)

  7. Step 600

    600

    #5971AC

    oklch(55.6% 0.097 266.5)

  8. Step 700

    700

    #495F94

    oklch(49.2% 0.089 266.1)

  9. Step 800

    800

    #3C4D78

    oklch(42.6% 0.075 266.8)

  10. Step 900

    900

    #334160

    oklch(37.7% 0.057 265.2)

  11. Step 950

    950 (this color)

    #252D40

    oklch(29.9% 0.036 266.6)

Export this scale for Tailwind in the Tailwind colors tool

#252D40 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)#272E410.005
Deuteranopia (no green cones)#242C400.004
Tritanopia (no blue cones)#1D31340.032
Achromatopsia (no color)#2D2D2D0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #252D40

    #252D40

    oklch(29.9% 0.036 266.6)

  • #352C17

    #352C17

    oklch(29.7% 0.036 87)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252D40

    #252D40

    oklch(29.9% 0.036 266.6)

  • #1B303D

    #1B303D

    oklch(29.8% 0.036 236.9)

  • #2F2A3E

    #2F2A3E

    oklch(29.9% 0.036 295.6)

Open the analogous palette in the generator

Split complementary

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

  • #252D40

    #252D40

    oklch(29.9% 0.036 266.6)

  • #3C291B

    #3C291B

    oklch(30% 0.037 57.2)

  • #2C301A

    #2C301A

    oklch(29.9% 0.037 117.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252D40

    #252D40

    oklch(29.9% 0.036 266.6)

  • #3E2624

    #3E2624

    oklch(29.8% 0.037 24.7)

  • #213223

    #213223

    oklch(29.7% 0.035 147.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252D40

    #252D40

    oklch(29.9% 0.036 266.6)

  • #3C262E

    #3C262E

    oklch(29.9% 0.035 356)

  • #352C17

    #352C17

    oklch(29.7% 0.036 87)

  • #17332D

    #17332D

    oklch(29.7% 0.036 178.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #252D40 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.