#252A39

Closest named color: Space Cadet (#2B2D42). oklch(28.7% 0.029 270.2), rgb(37, 42, 57).

Aa

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

About this color

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

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

Values

HEX#252A39
RGBrgb(37, 42, 57)
HSLhsl(225, 21%, 18%)
OKLCHoklch(28.7% 0.029 270.2)

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 #252A39 14.29:1 AAA Lc -104.0 Preferred for body text
Black text on #252A39 1.46:1 Fails Lc 0.0 Not readable
#252A39 text on white 14.29:1 AAA Lc 101.0 Preferred for body text
#252A39 text on black 1.46: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

    #E7EAF1

    oklch(93.7% 0.01 267.4)

  3. Step 200

    200

    #D4D9E6

    oklch(88.5% 0.019 269.1)

  4. Step 300

    300

    #B8C0D7

    oklch(80.9% 0.034 270.4)

  5. Step 400

    400

    #93A0C3

    oklch(70.8% 0.053 269)

  6. Step 500

    500

    #7988B4

    oklch(63.1% 0.069 269.8)

  7. Step 600

    600

    #6271A0

    oklch(55.6% 0.076 270.2)

  8. Step 700

    700

    #515F89

    oklch(49.2% 0.07 269.6)

  9. Step 800

    800

    #434D6F

    oklch(42.6% 0.058 271.2)

  10. Step 900

    900

    #38405A

    oklch(37.6% 0.046 270.9)

  11. Step 950

    950 (this color)

    #252A39

    oklch(28.7% 0.029 270.2)

Export this scale for Tailwind in the Tailwind colors tool

#252A39 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)#252B3A0.003
Deuteranopia (no green cones)#242A390.002
Tritanopia (no blue cones)#202D2F0.026
Achromatopsia (no color)#2A2A2A0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #252A39

    #252A39

    oklch(28.7% 0.029 270.2)

  • #302A1A

    #302A1A

    oklch(28.7% 0.028 89.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252A39

    #252A39

    oklch(28.7% 0.029 270.2)

  • #1D2D37

    #1D2D37

    oklch(28.8% 0.028 236.5)

  • #2D2737

    #2D2737

    oklch(28.6% 0.03 301.7)

Open the analogous palette in the generator

Split complementary

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

  • #252A39

    #252A39

    oklch(28.7% 0.029 270.2)

  • #35271C

    #35271C

    oklch(28.6% 0.028 59.5)

  • #292D1D

    #292D1D

    oklch(28.8% 0.028 119.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252A39

    #252A39

    oklch(28.7% 0.029 270.2)

  • #382522

    #382522

    oklch(28.7% 0.03 29.1)

  • #202F23

    #202F23

    oklch(28.8% 0.03 150.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252A39

    #252A39

    oklch(28.7% 0.029 270.2)

  • #37252A

    #37252A

    oklch(28.8% 0.028 0.8)

  • #302A1A

    #302A1A

    oklch(28.7% 0.028 89.8)

  • #1A2F2B

    #1A2F2B

    oklch(28.6% 0.028 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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