#252F42

Closest named color: Space Cadet (#2B2D42). oklch(30.5% 0.037 262.9), rgb(37, 47, 66).

Aa

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

About this color

#252F42 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.037 and its hue 263°. 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.42:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.037)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.56:1
White text13.42:1

Values

HEX#252F42
RGBrgb(37, 47, 66)
HSLhsl(219, 28%, 20%)
OKLCHoklch(30.5% 0.037 262.9)

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 #252F42 13.42:1 AAA Lc -103.0 Preferred for body text
Black text on #252F42 1.56:1 Fails Lc 0.0 Not readable
#252F42 text on white 13.42:1 AAA Lc 99.8 Preferred for body text
#252F42 text on black 1.56: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

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D1D9EA

    oklch(88.4% 0.025 265.6)

  4. Step 300

    300

    #B2C1DE

    oklch(80.9% 0.044 263.6)

  5. Step 400

    400

    #89A1CD

    oklch(70.7% 0.07 262.4)

  6. Step 500

    500

    #6C89C0

    oklch(63% 0.09 262.7)

  7. Step 600

    600

    #5472AD

    oklch(55.5% 0.099 263)

  8. Step 700

    700

    #456094

    oklch(49.2% 0.09 262.7)

  9. Step 800

    800

    #394E78

    oklch(42.6% 0.075 263.3)

  10. Step 900

    900

    #314161

    oklch(37.7% 0.059 263.5)

  11. Step 950

    950 (this color)

    #252F42

    oklch(30.5% 0.037 262.9)

Export this scale for Tailwind in the Tailwind colors tool

#252F42 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)#2830430.006
Deuteranopia (no green cones)#252E420.003
Tritanopia (no blue cones)#1C33360.032
Achromatopsia (no color)#2F2F2F0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #252F42

    #252F42

    oklch(30.5% 0.037 262.9)

  • #382D18

    #382D18

    oklch(30.4% 0.037 82.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252F42

    #252F42

    oklch(30.5% 0.037 262.9)

  • #1B323F

    #1B323F

    oklch(30.4% 0.037 234.6)

  • #302C40

    #302C40

    oklch(30.6% 0.036 293.3)

Open the analogous palette in the generator

Split complementary

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

  • #252F42

    #252F42

    oklch(30.5% 0.037 262.9)

  • #3E2A1D

    #3E2A1D

    oklch(30.5% 0.037 53.9)

  • #2F311B

    #2F311B

    oklch(30.5% 0.037 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252F42

    #252F42

    oklch(30.5% 0.037 262.9)

  • #402726

    #402726

    oklch(30.4% 0.038 22.1)

  • #243423

    #243423

    oklch(30.5% 0.037 143.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252F42

    #252F42

    oklch(30.5% 0.037 262.9)

  • #3E2731

    #3E2731

    oklch(30.5% 0.038 351.9)

  • #382D18

    #382D18

    oklch(30.4% 0.037 82.7)

  • #19352D

    #19352D

    oklch(30.4% 0.037 173.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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