#252B39

Closest named color: Space Cadet (#2B2D42). oklch(29% 0.027 266.6), rgb(37, 43, 57).

Aa

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

About this color

#252B39 is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 14.15:1.

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.48:1
White text14.15:1

Values

HEX#252B39
RGBrgb(37, 43, 57)
HSLhsl(222, 21%, 18%)
OKLCHoklch(29% 0.027 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 #252B39 14.15:1 AAA Lc -103.8 Preferred for body text
Black text on #252B39 1.48:1 Fails Lc 0.0 Not readable
#252B39 text on white 14.15:1 AAA Lc 100.9 Preferred for body text
#252B39 text on black 1.48: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAF0

    oklch(93.6% 0.009 264.5)

  3. Step 200

    200

    #D4D9E5

    oklch(88.5% 0.017 267.8)

  4. Step 300

    300

    #B7C1D6

    oklch(81% 0.032 265.3)

  5. Step 400

    400

    #92A0C1

    oklch(70.6% 0.051 267)

  6. Step 500

    500

    #7789B2

    oklch(63.1% 0.066 266.1)

  7. Step 600

    600

    #60729E

    oklch(55.5% 0.072 266.9)

  8. Step 700

    700

    #4F6087

    oklch(49.2% 0.066 265.9)

  9. Step 800

    800

    #414E6E

    oklch(42.7% 0.056 267)

  10. Step 900

    900

    #374159

    oklch(37.7% 0.043 266.8)

  11. Step 950

    950 (this color)

    #252B39

    oklch(29% 0.027 266.6)

Export this scale for Tailwind in the Tailwind colors tool

#252B39 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)#272C3A0.005
Deuteranopia (no green cones)#252A390.003
Tritanopia (no blue cones)#1F2E300.025
Achromatopsia (no color)#2B2B2B0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #252B39

    #252B39

    oklch(29% 0.027 266.6)

  • #312A1C

    #312A1C

    oklch(28.8% 0.026 84.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252B39

    #252B39

    oklch(29% 0.027 266.6)

  • #1E2D37

    #1E2D37

    oklch(28.8% 0.027 238.1)

  • #2C2937

    #2C2937

    oklch(29% 0.026 294.6)

Open the analogous palette in the generator

Split complementary

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

  • #252B39

    #252B39

    oklch(29% 0.027 266.6)

  • #36281E

    #36281E

    oklch(29% 0.027 56.9)

  • #2A2D1E

    #2A2D1E

    oklch(28.9% 0.026 117.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252B39

    #252B39

    oklch(29% 0.027 266.6)

  • #382624

    #382624

    oklch(29% 0.028 26.1)

  • #222F23

    #222F23

    oklch(28.9% 0.028 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252B39

    #252B39

    oklch(29% 0.027 266.6)

  • #37262B

    #37262B

    oklch(29.1% 0.027 359.6)

  • #312A1C

    #312A1C

    oklch(28.8% 0.026 84.3)

  • #1C302B

    #1C302B

    oklch(29% 0.028 176.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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