#20202C#20202C

#20202C is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.9% C 0.023 H 284.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#20202C
RGBrgb(32, 32, 44)
HSLhsl(240, 16%, 15%)
HSVhsv(240, 27%, 17%)
CMYKcmyk(27.3%, 27.3%, 0%, 82.7%)
CIE-LABlab(12.75, 3.34, -7.98)
CIE-LCHlch(12.75, 8.65, 292.71°)
OKLaboklab(24.91% 0.0057 -0.0219)
OKLCHoklch(24.91% 0.023 284.6)
XYZxyz(1.5667, 1.5219, 2.5936)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20202C #2C2C20
analogous
#20262C #20202C #26202C
triadic
#20202C #2C2020 #202C20
tetradic
#20202C #2C2026 #2C2C20 #202C26
square
#20202C #2C2026 #2C2C20 #202C26
split-complementary
#20202C #2C2620 #262C20
monochromatic
#0D0D12 #0D0D12 #20202C #3A3A4F #545473

Accessibility & contrast

On white

16.10
#20202C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#20202C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20202C
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20202C#FFFFFF#000000##FFFFFF
##20202C1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212D
Deuteranopia (green-blind)
#1D212C
Tritanopia (blue-blind)
#1D2224
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #20202c;
/* rgb */ color: rgb(32, 32, 44);
/* oklch */ color: oklch(24.9% 0.023 284.6);
Tailwind
colors: {
  custom: {
    50: '#5b5b65',
    500: '#20202c',
    950: '#000000',
  },
}
SCSS
$custom: #20202c;
$custom-light: #5b5b65;
$custom-dark: #000000;
JSON
{
  "hex": "#20202c",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 44
  },
  "hsl": {
    "h": 240,
    "s": 15.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24906,
    "c": 0.02262,
    "h": 284.6
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#20202C
secondary
#5D5D4B
accent
#B96FB9
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040405
muted
#79797A

Preview Lab

Preview with #20202C

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

Preview Lab → · Contrast checker → · Palette generator →

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