#2A2A39

Closest named color: Space Cadet (#2B2D42). oklch(29.2% 0.027 284.6), rgb(42, 42, 57).

Aa

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

About this color

#2A2A39 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.017 away. White text reads best on it, at 14.10:1.

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

Values

HEX#2A2A39
RGBrgb(42, 42, 57)
HSLhsl(240, 15%, 19%)
OKLCHoklch(29.2% 0.027 284.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 #2A2A39 14.10:1 AAA Lc -103.8 Preferred for body text
Black text on #2A2A39 1.48:1 Fails Lc 0.0 Not readable
#2A2A39 text on white 14.10:1 AAA Lc 100.8 Preferred for body text
#2A2A39 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D7D8E5

    oklch(88.5% 0.018 282.5)

  4. Step 300

    300

    #BEBED5

    oklch(80.9% 0.032 285.7)

  5. Step 400

    400

    #9C9DC0

    oklch(70.7% 0.051 283.7)

  6. Step 500

    500

    #8584B0

    oklch(63.1% 0.066 285.4)

  7. Step 600

    600

    #6E6E9C

    oklch(55.7% 0.071 283.9)

  8. Step 700

    700

    #5C5B85

    oklch(49% 0.067 284.7)

  9. Step 800

    800

    #4B4B6C

    oklch(42.7% 0.054 283.9)

  10. Step 900

    900

    #3F3F58

    oklch(37.8% 0.042 284.2)

  11. Step 950

    950 (this color)

    #2A2A39

    oklch(29.2% 0.027 284.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A2A39 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)#262C3A0.009
Deuteranopia (no green cones)#262B390.007
Tritanopia (no blue cones)#272D2F0.025
Achromatopsia (no color)#2B2B2B0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2A39

    #2A2A39

    oklch(29.2% 0.027 284.6)

  • #2E2D1D

    #2E2D1D

    oklch(29.3% 0.027 104.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2A39

    #2A2A39

    oklch(29.2% 0.027 284.6)

  • #232D39

    #232D39

    oklch(29.3% 0.026 253.3)

  • #312835

    #312835

    oklch(29.2% 0.026 315.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A2A39

    #2A2A39

    oklch(29.2% 0.027 284.6)

  • #342A1C

    #342A1C

    oklch(29.2% 0.028 75.6)

  • #262F21

    #262F21

    oklch(29.2% 0.028 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2A39

    #2A2A39

    oklch(29.2% 0.027 284.6)

  • #382821

    #382821

    oklch(29.4% 0.027 44.7)

  • #1F3028

    #1F3028

    oklch(29.1% 0.027 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2A39

    #2A2A39

    oklch(29.2% 0.027 284.6)

  • #382627

    #382627

    oklch(29.1% 0.027 15.2)

  • #2E2D1D

    #2E2D1D

    oklch(29.3% 0.027 104.9)

  • #1B3030

    #1B3030

    oklch(29.2% 0.027 195.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A2A39 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.