#20222E#20222E

#20222E is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.5% C 0.023 H 277.3°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#20222E
RGBrgb(32, 34, 46)
HSLhsl(231, 18%, 15%)
HSVhsv(231, 30%, 18%)
CMYKcmyk(30.4%, 26.1%, 0%, 82%)
CIE-LABlab(13.52, 2.50, -8.24)
CIE-LCHlch(13.52, 8.61, 286.86°)
OKLaboklab(25.54% 0.0029 -0.0226)
OKLCHoklch(25.54% 0.023 277.3)
XYZxyz(1.6607, 1.6483, 2.8149)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20222E #2E2C20
analogous
#20292E #20222E #25202E
triadic
#20222E #2E2022 #222E20
tetradic
#20222E #2E2029 #2E2C20 #202E25
square
#20222E #2E2029 #2E2C20 #202E25
split-complementary
#20222E #2E2520 #292E20
monochromatic
#0D0D12 #0D0D12 #20222E #393D52 #525776

Accessibility & contrast

On white

15.79
#20222E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#20222E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20222E
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20222E#FFFFFF#000000##FFFFFF
##20222E1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232F
Deuteranopia (green-blind)
#1E222E
Tritanopia (blue-blind)
#1D2426
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #20222e;
/* rgb */ color: rgb(32, 34, 46);
/* oklch */ color: oklch(25.5% 0.023 277.3);
Tailwind
colors: {
  custom: {
    50: '#5b5c66',
    500: '#20222e',
    950: '#000000',
  },
}
SCSS
$custom: #20222e;
$custom-light: #5b5c66;
$custom-dark: #000000;
JSON
{
  "hex": "#20222e",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 231.429,
    "s": 17.949,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2554,
    "c": 0.0228,
    "h": 277.3
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#20222E
secondary
#605D4A
accent
#B06DBB
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #20222E

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

Preview Lab → · Contrast checker → · Palette generator →

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