#204240#204240

#204240 is a dark, muted teal. Relative luminance 0.046; OKLCH L 35.3% C 0.040 H 190.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#204240
RGBrgb(32, 66, 64)
HSLhsl(176, 35%, 19%)
HSVhsv(176, 52%, 26%)
CMYKcmyk(51.5%, 0%, 3%, 74.1%)
CIE-LABlab(25.48, -12.95, -2.63)
CIE-LCHlch(25.48, 13.22, 191.48°)
OKLaboklab(35.28% -0.0393 -0.0073)
OKLCHoklch(35.28% 0.04 190.5)
XYZxyz(3.4689, 4.5734, 5.5494)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204240 #422022
analogous
#20422F #204240 #203342
triadic
#204240 #402042 #424020
tetradic
#204240 #2F2042 #422022 #334220
square
#204240 #2F2042 #422022 #334220
split-complementary
#204240 #422033 #422F20
monochromatic
#0A1514 #0C1918 #204240 #346B68 #489490

Accessibility & contrast

On white

10.97
#204240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#204240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204240
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204240#FFFFFF#000000##FFFFFF
##2042401.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#393B40
Tritanopia (blue-blind)
#0F4441
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #204240;
/* rgb */ color: rgb(32, 66, 64);
/* oklch */ color: oklch(35.3% 0.040 190.5);
Tailwind
colors: {
  custom: {
    50: '#5e7674',
    500: '#204240',
    950: '#000000',
  },
}
SCSS
$custom: #204240;
$custom-light: #5e7674;
$custom-dark: #000000;
JSON
{
  "hex": "#204240",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 176.471,
    "s": 34.694,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35278,
    "c": 0.03995,
    "h": 190.5
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#204240
secondary
#76484B
accent
#5D63CB
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#040808
muted
#797B7B

Preview Lab

Preview with #204240

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

Preview Lab → · Contrast checker → · Palette generator →

#204240 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva