#20282A#20282A

#20282A is a dark, near-neutral cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.012 H 214.5°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#20282A
RGBrgb(32, 40, 42)
HSLhsl(192, 14%, 15%)
HSVhsv(192, 24%, 16%)
CMYKcmyk(23.8%, 4.8%, 0%, 83.5%)
CIE-LABlab(15.44, -2.95, -2.49)
CIE-LCHlch(15.44, 3.86, 220.16°)
OKLaboklab(26.99% -0.0098 -0.0067)
OKLCHoklch(26.99% 0.012 214.5)
XYZxyz(1.7723, 1.9918, 2.4811)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20282A #2A2220
analogous
#202A27 #20282A #20232A
triadic
#20282A #2A2028 #282A20
tetradic
#20282A #27202A #2A2220 #232A20
square
#20282A #27202A #2A2220 #232A20
split-complementary
#20282A #2A2023 #2A2720
monochromatic
#0D1111 #0D1111 #20282A #3A494D #556A6F

Accessibility & contrast

On white

15.02
#20282A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#20282A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20282A
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20282A#FFFFFF#000000##FFFFFF
##20282A1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#25262A
Tritanopia (blue-blind)
#1D2929
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #20282a;
/* rgb */ color: rgb(32, 40, 42);
/* oklch */ color: oklch(27.0% 0.012 214.5);
Tailwind
colors: {
  custom: {
    50: '#5b6163',
    500: '#20282a',
    950: '#000000',
  },
}
SCSS
$custom: #20282a;
$custom-light: #5b6163;
$custom-dark: #000000;
JSON
{
  "hex": "#20282a",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 192,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26994,
    "c": 0.01189,
    "h": 214.5
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#20282A
secondary
#5B4E4B
accent
#7F71B6
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040505
muted
#797979

Preview Lab

Preview with #20282A

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

Preview Lab → · Contrast checker → · Palette generator →

#20282A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva