#201F2A#201F2A

#201F2A is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.5% C 0.021 H 288.9°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#201F2A
RGBrgb(32, 31, 42)
HSLhsl(245, 15%, 14%)
HSVhsv(245, 26%, 16%)
CMYKcmyk(23.8%, 26.2%, 0%, 83.5%)
CIE-LABlab(12.31, 3.47, -7.19)
CIE-LCHlch(12.31, 7.99, 295.76°)
OKLaboklab(24.54% 0.0067 -0.0197)
OKLCHoklch(24.54% 0.021 288.9)
XYZxyz(1.5035, 1.4542, 2.3915)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F2A #292A1F
analogous
#1F242A #201F2A #261F2A
triadic
#201F2A #2A201F #1F2A20
tetradic
#201F2A #2A1F24 #292A1F #1F2A26
square
#201F2A #2A1F24 #292A1F #1F2A26
split-complementary
#201F2A #2A261F #242A1F
monochromatic
#0D0D12 #0D0D12 #201F2A #3B394D #565370

Accessibility & contrast

On white

16.27
#201F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F2A
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F2A#FFFFFF#000000##FFFFFF
##201F2A1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201f2a;
/* rgb */ color: rgb(32, 31, 42);
/* oklch */ color: oklch(24.5% 0.021 288.9);
Tailwind
colors: {
  custom: {
    50: '#5b5a63',
    500: '#201f2a',
    950: '#000000',
  },
}
SCSS
$custom: #201f2a;
$custom-light: #5b5a63;
$custom-dark: #000000;
JSON
{
  "hex": "#201f2a",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 245.455,
    "s": 15.068,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24539,
    "c": 0.02078,
    "h": 288.9
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#201F2A
secondary
#5A5B4A
accent
#B870B1
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040305
muted
#797879

Preview Lab

Preview with #201F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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