#312D3D

Closest named color: Space Cadet (#2B2D42). oklch(30.8% 0.029 296.1), rgb(49, 45, 61).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (31%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.57:1
White text13.34:1

Values

HEX#312D3D
RGBrgb(49, 45, 61)
HSLhsl(255, 15%, 21%)
OKLCHoklch(30.8% 0.029 296.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 #312D3D 13.34:1 AAA Lc -102.9 Preferred for body text
Black text on #312D3D 1.57:1 Fails Lc 0.0 Not readable
#312D3D text on white 13.34:1 AAA Lc 99.8 Preferred for body text
#312D3D text on black 1.57: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EAE9F0

    oklch(93.7% 0.009 292.8)

  3. Step 200

    200

    #DAD7E5

    oklch(88.6% 0.019 295.8)

  4. Step 300

    300

    #C2BDD5

    oklch(81% 0.034 295.2)

  5. Step 400

    400

    #A39ABF

    oklch(70.7% 0.054 296.1)

  6. Step 500

    500

    #8D81AF

    oklch(63.1% 0.069 296.3)

  7. Step 600

    600

    #776A9B

    oklch(55.6% 0.076 296)

  8. Step 700

    700

    #645884

    oklch(49% 0.07 296.2)

  9. Step 800

    800

    #52486C

    oklch(42.7% 0.06 296.5)

  10. Step 900

    900

    #443D57

    oklch(37.8% 0.045 296.6)

  11. Step 950

    950 (this color)

    #312D3D

    oklch(30.8% 0.029 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#312D3D 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)#2A2F3E0.013
Deuteranopia (no green cones)#2A2F3D0.013
Tritanopia (no blue cones)#2F2F320.024
Achromatopsia (no color)#2F2F2F0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #312D3D

    #312D3D

    oklch(30.8% 0.029 296.1)

  • #2F3221

    #2F3221

    oklch(30.9% 0.029 116.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312D3D

    #312D3D

    oklch(30.8% 0.029 296.1)

  • #29303F

    #29303F

    oklch(30.9% 0.029 265.2)

  • #382B38

    #382B38

    oklch(30.9% 0.029 326.3)

Open the analogous palette in the generator

Split complementary

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

  • #312D3D

    #312D3D

    oklch(30.8% 0.029 296.1)

  • #362F1F

    #362F1F

    oklch(30.8% 0.029 87)

  • #273427

    #273427

    oklch(30.9% 0.029 144.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312D3D

    #312D3D

    oklch(30.8% 0.029 296.1)

  • #3B2C22

    #3B2C22

    oklch(30.7% 0.028 55.1)

  • #20352F

    #20352F

    oklch(30.9% 0.029 174.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312D3D

    #312D3D

    oklch(30.8% 0.029 296.1)

  • #3D2A28

    #3D2A28

    oklch(30.7% 0.029 25.7)

  • #2F3221

    #2F3221

    oklch(30.9% 0.029 116.3)

  • #1E3437

    #1E3437

    oklch(30.8% 0.028 206.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #312D3D 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.