#20212E#20212E

#20212E is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.3% C 0.025 H 281.1°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#20212E
RGBrgb(32, 33, 46)
HSLhsl(236, 18%, 15%)
HSVhsv(236, 30%, 18%)
CMYKcmyk(30.4%, 28.3%, 0%, 82%)
CIE-LABlab(13.18, 3.22, -8.76)
CIE-LCHlch(13.18, 9.33, 290.21°)
OKLaboklab(25.28% 0.0047 -0.0241)
OKLCHoklch(25.28% 0.025 281.1)
XYZxyz(1.6325, 1.5920, 2.8055)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20212E #2E2D20
analogous
#20282E #20212E #26202E
triadic
#20212E #2E2021 #212E20
tetradic
#20212E #2E2028 #2E2D20 #202E26
square
#20212E #2E2028 #2E2D20 #202E26
split-complementary
#20212E #2E2620 #282E20
monochromatic
#0D0D12 #0D0D12 #20212E #393B52 #525576

Accessibility & contrast

On white

15.93
#20212E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#20212E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20212E
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20212E#FFFFFF#000000##FFFFFF
##20212E1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222F
Deuteranopia (green-blind)
#1D212E
Tritanopia (blue-blind)
#1D2325
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #20212e;
/* rgb */ color: rgb(32, 33, 46);
/* oklch */ color: oklch(25.3% 0.025 281.1);
Tailwind
colors: {
  custom: {
    50: '#5b5c66',
    500: '#20212e',
    950: '#000000',
  },
}
SCSS
$custom: #20212e;
$custom-light: #5b5c66;
$custom-dark: #000000;
JSON
{
  "hex": "#20212e",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 235.714,
    "s": 17.949,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25275,
    "c": 0.02455,
    "h": 281.1
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#20212E
secondary
#605E4A
accent
#B56DBB
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #20212E

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

Preview Lab → · Contrast checker → · Palette generator →

#20212E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva