#201F2C#201F2C

#201F2C is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.6% C 0.025 H 288.0°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#201F2C
RGBrgb(32, 31, 44)
HSLhsl(245, 17%, 15%)
HSVhsv(245, 30%, 17%)
CMYKcmyk(27.3%, 29.5%, 0%, 82.7%)
CIE-LABlab(12.41, 4.07, -8.50)
CIE-LCHlch(12.41, 9.43, 295.61°)
OKLaboklab(24.64% 0.0076 -0.0233)
OKLCHoklch(24.64% 0.025 288)
XYZxyz(1.5402, 1.4689, 2.5848)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F2C #2B2C1F
analogous
#1F252C #201F2C #271F2C
triadic
#201F2C #2C201F #1F2C20
tetradic
#201F2C #2C1F25 #2B2C1F #1F2C27
square
#201F2C #2C1F25 #2B2C1F #1F2C27
split-complementary
#201F2C #2C271F #252C1F
monochromatic
#0D0D12 #0D0D12 #201F2C #3A3850 #545274

Accessibility & contrast

On white

16.23
#201F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F2C
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F2C#FFFFFF#000000##FFFFFF
##201F2C1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212D
Deuteranopia (green-blind)
#1C202C
Tritanopia (blue-blind)
#1D2123
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201f2c;
/* rgb */ color: rgb(32, 31, 44);
/* oklch */ color: oklch(24.6% 0.025 288.0);
Tailwind
colors: {
  custom: {
    50: '#5b5a65',
    500: '#201f2c',
    950: '#000000',
  },
}
SCSS
$custom: #201f2c;
$custom-light: #5b5a65;
$custom-dark: #000000;
JSON
{
  "hex": "#201f2c",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 244.615,
    "s": 17.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24644,
    "c": 0.02454,
    "h": 288
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#201F2C
secondary
#5C5E49
accent
#BA6EB4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040305
muted
#79787A

Preview Lab

Preview with #201F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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