#202028#202028

#202028 is a very dark, near-neutral blue. Relative luminance 0.015; OKLCH L 24.7% C 0.015 H 285.3°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#202028
RGBrgb(32, 32, 40)
HSLhsl(240, 11%, 14%)
HSVhsv(240, 20%, 16%)
CMYKcmyk(20%, 20%, 0%, 84.3%)
CIE-LABlab(12.57, 2.15, -5.36)
CIE-LCHlch(12.57, 5.77, 291.89°)
OKLaboklab(24.71% 0.004 -0.0145)
OKLCHoklch(24.71% 0.015 285.3)
XYZxyz(1.4951, 1.4933, 2.2165)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202028 #282820
analogous
#202428 #202028 #242028
triadic
#202028 #282020 #202820
tetradic
#202028 #282024 #282820 #202824
square
#202028 #282024 #282820 #202824
split-complementary
#202028 #282420 #242820
monochromatic
#0E0E11 #0E0E11 #202028 #3B3B4A #56566C

Accessibility & contrast

On white

16.17
#202028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#202028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202028
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202028#FFFFFF#000000##FFFFFF
##2020281.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2128
Deuteranopia (green-blind)
#1E2028
Tritanopia (blue-blind)
#1E2123
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #202028;
/* rgb */ color: rgb(32, 32, 40);
/* oklch */ color: oklch(24.7% 0.015 285.3);
Tailwind
colors: {
  custom: {
    50: '#5b5b61',
    500: '#202028',
    950: '#000000',
  },
}
SCSS
$custom: #202028;
$custom-light: #5b5b61;
$custom-dark: #000000;
JSON
{
  "hex": "#202028",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 240,
    "s": 11.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24705,
    "c": 0.01508,
    "h": 285.3
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#202028
secondary
#58584C
accent
#B474B4
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040405
muted
#797979

Preview Lab

Preview with #202028

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

Preview Lab → · Contrast checker → · Palette generator →

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