#252A41

Closest named color: Space Cadet (#2B2D42). oklch(29.1% 0.043 274.1), rgb(37, 42, 65).

Aa

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

About this color

#252A41 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.043 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.015 away. White text reads best on it, at 14.13:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.043)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.48:1
White text14.13:1

Values

HEX#252A41
RGBrgb(37, 42, 65)
HSLhsl(229, 27%, 20%)
OKLCHoklch(29.1% 0.043 274.1)

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 #252A41 14.13:1 AAA Lc -103.8 Preferred for body text
Black text on #252A41 1.48:1 Fails Lc 0.0 Not readable
#252A41 text on white 14.13:1 AAA Lc 100.8 Preferred for body text
#252A41 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F4

    oklch(93.6% 0.015 277.8)

  3. Step 200

    200

    #D3D8EC

    oklch(88.4% 0.028 274.6)

  4. Step 300

    300

    #B6BFE2

    oklch(80.9% 0.05 273.9)

  5. Step 400

    400

    #919DD4

    oklch(70.7% 0.082 274.6)

  6. Step 500

    500

    #7684C8

    oklch(63% 0.104 274.2)

  7. Step 600

    600

    #5F6DB5

    oklch(55.6% 0.113 273.9)

  8. Step 700

    700

    #4F5B9B

    oklch(49.1% 0.103 274)

  9. Step 800

    800

    #414A7E

    oklch(42.7% 0.087 274.7)

  10. Step 900

    900

    #373E65

    oklch(37.6% 0.067 275)

  11. Step 950

    950 (this color)

    #252A41

    oklch(29.1% 0.043 274.1)

Export this scale for Tailwind in the Tailwind colors tool

#252A41 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)#222C420.007
Deuteranopia (no green cones)#202A400.008
Tritanopia (no blue cones)#1D2F320.039
Achromatopsia (no color)#2B2B2B0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #252A41

    #252A41

    oklch(29.1% 0.043 274.1)

  • #332B11

    #332B11

    oklch(29.1% 0.042 92.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252A41

    #252A41

    oklch(29.1% 0.043 274.1)

  • #182E3F

    #182E3F

    oklch(29.1% 0.042 243.2)

  • #30263D

    #30263D

    oklch(29.1% 0.043 303.8)

Open the analogous palette in the generator

Split complementary

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

  • #252A41

    #252A41

    oklch(29.1% 0.043 274.1)

  • #3B2714

    #3B2714

    oklch(29.2% 0.043 63.3)

  • #272F17

    #272F17

    oklch(29% 0.042 124)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252A41

    #252A41

    oklch(29.1% 0.043 274.1)

  • #3E241D

    #3E241D

    oklch(29.2% 0.042 35.8)

  • #193222

    #193222

    oklch(29.1% 0.043 154.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252A41

    #252A41

    oklch(29.1% 0.043 274.1)

  • #3E2229

    #3E2229

    oklch(29.1% 0.044 4)

  • #332B11

    #332B11

    oklch(29.1% 0.042 92.5)

  • #0D332E

    #0D332E

    oklch(29.3% 0.043 183.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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