#2A2A38

Closest named color: Space Cadet (#2B2D42). oklch(29.1% 0.025 284.7), rgb(42, 42, 56).

Aa

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

About this color

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

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

Values

HEX#2A2A38
RGBrgb(42, 42, 56)
HSLhsl(240, 14%, 19%)
OKLCHoklch(29.1% 0.025 284.7)

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

    #D7D8E4

    oklch(88.5% 0.016 282.2)

  4. Step 300

    300

    #BEBED4

    oklch(80.8% 0.031 285.7)

  5. Step 400

    400

    #9D9DBE

    oklch(70.7% 0.048 285.1)

  6. Step 500

    500

    #8585AE

    oklch(63.2% 0.061 284.5)

  7. Step 600

    600

    #6F6E99

    oklch(55.6% 0.066 285.1)

  8. Step 700

    700

    #5D5C83

    oklch(49.2% 0.062 285.1)

  9. Step 800

    800

    #4C4B6A

    oklch(42.7% 0.051 285.5)

  10. Step 900

    900

    #3F3F56

    oklch(37.7% 0.039 284.4)

  11. Step 950

    950 (this color)

    #2A2A38

    oklch(29.1% 0.025 284.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A2A38 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)#262C390.009
Deuteranopia (no green cones)#262B380.007
Tritanopia (no blue cones)#272C2F0.021
Achromatopsia (no color)#2B2B2B0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2A38

    #2A2A38

    oklch(29.1% 0.025 284.7)

  • #2D2C1E

    #2D2C1E

    oklch(29% 0.024 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2A38

    #2A2A38

    oklch(29.1% 0.025 284.7)

  • #232C38

    #232C38

    oklch(29% 0.025 255.7)

  • #302834

    #302834

    oklch(29.1% 0.024 314.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A2A38

    #2A2A38

    oklch(29.1% 0.025 284.7)

  • #332A1D

    #332A1D

    oklch(29.1% 0.026 76.6)

  • #262F22

    #262F22

    oklch(29.2% 0.026 136.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2A38

    #2A2A38

    oklch(29.1% 0.025 284.7)

  • #372821

    #372821

    oklch(29.2% 0.026 46.2)

  • #203028

    #203028

    oklch(29.2% 0.026 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2A38

    #2A2A38

    oklch(29.1% 0.025 284.7)

  • #372728

    #372728

    oklch(29.2% 0.024 14.5)

  • #2D2C1E

    #2D2C1E

    oklch(29% 0.024 104.4)

  • #1C302F

    #1C302F

    oklch(29.2% 0.026 191.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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