#31272D

Closest named color: Jet (#212529). oklch(28.6% 0.018 341.6), rgb(49, 39, 45).

Aa

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

About this color

#31272D is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.032 away. White text reads best on it, at 14.39:1.

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.45:1
White text14.39:1

Values

HEX#31272D
RGBrgb(49, 39, 45)
HSLhsl(324, 11%, 17%)
OKLCHoklch(28.6% 0.018 341.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 #31272D 14.39:1 AAA Lc -104.1 Preferred for body text
Black text on #31272D 1.45:1 Fails Lc 0.0 Not readable
#31272D text on white 14.39:1 AAA Lc 101.2 Preferred for body text
#31272D text on black 1.45: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

    #F7F5F6

    oklch(97.2% 0.002 345.2)

  2. Step 100

    100

    #EDE8EB

    oklch(93.6% 0.007 340.4)

  3. Step 200

    200

    #DFD6DB

    oklch(88.5% 0.012 342.7)

  4. Step 300

    300

    #CBBBC5

    oklch(80.8% 0.023 339.7)

  5. Step 400

    400

    #B099A7

    oklch(70.8% 0.033 340.9)

  6. Step 500

    500

    #9D7F91

    oklch(63% 0.045 341.8)

  7. Step 600

    600

    #87697B

    oklch(55.6% 0.046 342)

  8. Step 700

    700

    #735768

    oklch(49.1% 0.045 341.8)

  9. Step 800

    800

    #5D4755

    oklch(42.6% 0.037 340.3)

  10. Step 900

    900

    #4D3C46

    oklch(37.8% 0.029 342.4)

  11. Step 950

    950 (this color)

    #31272D

    oklch(28.6% 0.018 341.6)

Export this scale for Tailwind in the Tailwind colors tool

#31272D 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)#27292D0.019
Deuteranopia (no green cones)#2A2A2D0.016
Tritanopia (no blue cones)#3227290.007
Achromatopsia (no color)#2A2A2A0.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #31272D

    #31272D

    oklch(28.6% 0.018 341.6)

  • #232D28

    #232D28

    oklch(28.6% 0.017 163.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31272D

    #31272D

    oklch(28.6% 0.018 341.6)

  • #2D2831

    #2D2831

    oklch(28.6% 0.018 310.1)

  • #332728

    #332728

    oklch(28.7% 0.018 12.6)

Open the analogous palette in the generator

Split complementary

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

  • #31272D

    #31272D

    oklch(28.6% 0.018 341.6)

  • #272C23

    #272C23

    oklch(28.5% 0.018 131.2)

  • #202D2D

    #202D2D

    oklch(28.5% 0.018 196.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31272D

    #31272D

    oklch(28.6% 0.018 341.6)

  • #2C2B21

    #2C2B21

    oklch(28.7% 0.018 102.7)

  • #212D31

    #212D31

    oklch(28.8% 0.018 220.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31272D

    #31272D

    oklch(28.6% 0.018 341.6)

  • #302921

    #302921

    oklch(28.6% 0.017 70.8)

  • #232D28

    #232D28

    oklch(28.6% 0.017 163.5)

  • #242B33

    #242B33

    oklch(28.6% 0.018 251.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31272D 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.