#20382C#20382C

#20382C is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.7% C 0.037 H 161.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#20382C
RGBrgb(32, 56, 44)
HSLhsl(150, 27%, 17%)
HSVhsv(150, 43%, 22%)
CMYKcmyk(42.9%, 0%, 21.4%, 78%)
CIE-LABlab(21.27, -12.67, 4.58)
CIE-LCHlch(21.27, 13.47, 160.11°)
OKLaboklab(31.68% -0.0353 0.0118)
OKLCHoklch(31.68% 0.037 161.5)
XYZxyz(2.4643, 3.3171, 2.8928)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20382C #38202C
analogous
#203820 #20382C #203838
triadic
#20382C #2C2038 #382C20
tetradic
#20382C #202038 #38202C #383820
square
#20382C #202038 #38202C #383820
split-complementary
#20382C #382038 #382020
monochromatic
#0B130F #0B130F #20382C #365F4B #4D8669

Accessibility & contrast

On white

12.62
#20382C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#20382C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20382C
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20382C#FFFFFF#000000##FFFFFF
##20382C1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352B
Deuteranopia (green-blind)
#33322D
Tritanopia (blue-blind)
#1A3835
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #20382c;
/* rgb */ color: rgb(32, 56, 44);
/* oklch */ color: oklch(31.7% 0.037 161.5);
Tailwind
colors: {
  custom: {
    50: '#5c6e65',
    500: '#20382c',
    950: '#000000',
  },
}
SCSS
$custom: #20382c;
$custom-light: #5c6e65;
$custom-dark: #000000;
JSON
{
  "hex": "#20382c",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 44
  },
  "hsl": {
    "h": 150,
    "s": 27.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.31676,
    "c": 0.03722,
    "h": 161.5
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#20382C
secondary
#6B495A
accent
#6494C4
background
#F5F6F6
surface
#E9ECEB
border
#C5C7C6
text
#040705
muted
#797A7A

Preview Lab

Preview with #20382C

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

Preview Lab → · Contrast checker → · Palette generator →

#20382C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva