#201F28#201F28

#201F28 is a very dark, near-neutral blue. Relative luminance 0.014; OKLCH L 24.4% C 0.017 H 290.2°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#201F28
RGBrgb(32, 31, 40)
HSLhsl(247, 13%, 14%)
HSVhsv(247, 23%, 16%)
CMYKcmyk(20%, 22.5%, 0%, 84.3%)
CIE-LABlab(12.22, 2.89, -5.88)
CIE-LCHlch(12.22, 6.55, 296.15°)
OKLaboklab(24.44% 0.0059 -0.016)
OKLCHoklch(24.44% 0.017 290.2)
XYZxyz(1.4686, 1.4402, 2.2077)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F28 #27281F
analogous
#1F2328 #201F28 #251F28
triadic
#201F28 #28201F #1F2820
tetradic
#201F28 #281F23 #27281F #1F2825
square
#201F28 #281F23 #27281F #1F2825
split-complementary
#201F28 #28251F #23281F
monochromatic
#0E0D11 #0E0D11 #201F28 #3C3A4A #57546D

Accessibility & contrast

On white

16.30
#201F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#201F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F28
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F28#FFFFFF#000000##FFFFFF
##201F281.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2028
Deuteranopia (green-blind)
#1D2028
Tritanopia (blue-blind)
#1E2022
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201f28;
/* rgb */ color: rgb(32, 31, 40);
/* oklch */ color: oklch(24.4% 0.017 290.2);
Tailwind
colors: {
  custom: {
    50: '#5b5a61',
    500: '#201f28',
    950: '#000000',
  },
}
SCSS
$custom: #201f28;
$custom-light: #5b5a61;
$custom-dark: #000000;
JSON
{
  "hex": "#201f28",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 246.667,
    "s": 12.676,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24438,
    "c": 0.01702,
    "h": 290.2
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#201F28
secondary
#57594A
accent
#B672AE
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040305
muted
#797879

Preview Lab

Preview with #201F28

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

Preview Lab → · Contrast checker → · Palette generator →

#201F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva