#202828#202828

#202828 is a dark, near-neutral teal. Relative luminance 0.020; OKLCH L 26.9% C 0.011 H 196.5°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#202828
RGBrgb(32, 40, 40)
HSLhsl(180, 11%, 14%)
HSVhsv(180, 20%, 16%)
CMYKcmyk(20%, 0%, 0%, 84.3%)
CIE-LABlab(15.37, -3.51, -1.18)
CIE-LCHlch(15.37, 3.70, 198.58°)
OKLaboklab(26.91% -0.0108 -0.0032)
OKLCHoklch(26.91% 0.011 196.5)
XYZxyz(1.7374, 1.9778, 2.2973)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202828 #282020
analogous
#202824 #202828 #202428
triadic
#202828 #282028 #282820
tetradic
#202828 #242028 #282020 #242820
square
#202828 #242028 #282020 #242820
split-complementary
#202828 #282024 #282420
monochromatic
#0E1111 #0E1111 #202828 #3B4A4A #566C6C

Accessibility & contrast

On white

15.05
#202828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#202828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202828
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202828#FFFFFF#000000##FFFFFF
##2028281.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272728
Deuteranopia (green-blind)
#252628
Tritanopia (blue-blind)
#1E2928
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #202828;
/* rgb */ color: rgb(32, 40, 40);
/* oklch */ color: oklch(26.9% 0.011 196.5);
Tailwind
colors: {
  custom: {
    50: '#5b6161',
    500: '#202828',
    950: '#000000',
  },
}
SCSS
$custom: #202828;
$custom-light: #5b6161;
$custom-dark: #000000;
JSON
{
  "hex": "#202828",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 180,
    "s": 11.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26911,
    "c": 0.0113,
    "h": 196.5
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#202828
secondary
#584C4C
accent
#7474B4
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040505
muted
#797979

Preview Lab

Preview with #202828

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

Preview Lab → · Contrast checker → · Palette generator →

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