#20312E#20312E

#20312E is a dark, muted teal. Relative luminance 0.027; OKLCH L 29.7% C 0.023 H 182.5°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#20312E
RGBrgb(32, 49, 46)
HSLhsl(169, 21%, 16%)
HSVhsv(169, 35%, 19%)
CMYKcmyk(34.7%, 0%, 6.1%, 80.8%)
CIE-LABlab(18.80, -7.80, -0.34)
CIE-LCHlch(18.80, 7.81, 182.46°)
OKLaboklab(29.71% -0.0231 -0.001)
OKLCHoklch(29.71% 0.023 182.5)
XYZxyz(2.1870, 2.7008, 2.9903)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20312E #312023
analogous
#203125 #20312E #202B31
triadic
#20312E #2E2031 #312E20
tetradic
#20312E #252031 #312023 #2B3120
square
#20312E #252031 #312023 #2B3120
split-complementary
#20312E #31202B #312520
monochromatic
#0C1311 #0C1311 #20312E #385651 #507B74

Accessibility & contrast

On white

13.63
#20312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#20312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20312E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20312E#FFFFFF#000000##FFFFFF
##20312E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2E
Deuteranopia (green-blind)
#2C2D2E
Tritanopia (blue-blind)
#1B3230
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20312e;
/* rgb */ color: rgb(32, 49, 46);
/* oklch */ color: oklch(29.7% 0.023 182.5);
Tailwind
colors: {
  custom: {
    50: '#5c6966',
    500: '#20312e',
    950: '#000000',
  },
}
SCSS
$custom: #20312e;
$custom-light: #5c6966;
$custom-dark: #000000;
JSON
{
  "hex": "#20312e",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 169.412,
    "s": 20.988,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29714,
    "c": 0.02308,
    "h": 182.5
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#20312E
secondary
#634A4E
accent
#6A79BE
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#040606
muted
#797A7A

Preview Lab

Preview with #20312E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#20312E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva