#201F41#201F41

#201F41 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.062 H 282.5°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#201F41
RGBrgb(32, 31, 65)
HSLhsl(242, 35%, 19%)
HSVhsv(242, 52%, 25%)
CMYKcmyk(50.8%, 52.3%, 0%, 74.5%)
CIE-LABlab(13.64, 11.17, -21.52)
CIE-LCHlch(13.64, 24.25, 297.44°)
OKLaboklab(25.99% 0.0135 -0.061)
OKLCHoklch(25.99% 0.062 282.5)
XYZxyz(2.0395, 1.6686, 5.2146)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F41 #40411F
analogous
#1F2F41 #201F41 #311F41
triadic
#201F41 #41201F #1F4120
tetradic
#201F41 #411F2F #40411F #1F4131
square
#201F41 #411F2F #40411F #1F4131
split-complementary
#201F41 #41311F #2F411F
monochromatic
#0A0A15 #0C0B18 #201F41 #34336A #494794

Accessibility & contrast

On white

15.74
#201F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#201F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F41
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F41#FFFFFF#000000##FFFFFF
##201F411.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112442
Deuteranopia (green-blind)
#102240
Tritanopia (blue-blind)
#15262C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201f41;
/* rgb */ color: rgb(32, 31, 65);
/* oklch */ color: oklch(26.0% 0.062 282.5);
Tailwind
colors: {
  custom: {
    50: '#5e5a76',
    500: '#201f41',
    950: '#000000',
  },
}
SCSS
$custom: #201f41;
$custom-light: #5e5a76;
$custom-dark: #000000;
JSON
{
  "hex": "#201f41",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 241.765,
    "s": 35.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25992,
    "c": 0.06246,
    "h": 282.5
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#201F41
secondary
#747547
accent
#CB5CC8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040308
muted
#79787B

Preview Lab

Preview with #201F41

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

Preview Lab → · Contrast checker → · Palette generator →

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