#201F96#201F96

#201F96 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.184 H 271.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#201F96
RGBrgb(32, 31, 150)
HSLhsl(241, 66%, 35%)
HSVhsv(241, 79%, 59%)
CMYKcmyk(78.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(21.90, 42.03, -63.59)
CIE-LCHlch(21.90, 76.22, 303.46°)
OKLaboklab(34.49% 0.0052 -0.1841)
OKLCHoklch(34.49% 0.184 271.6)
XYZxyz(6.5888, 3.4883, 29.1743)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F96 #95961F
analogous
#1F5996 #201F96 #5B1F96
triadic
#201F96 #96201F #1F9620
tetradic
#201F96 #961F59 #95961F #1F965B
square
#201F96 #961F59 #95961F #1F965B
split-complementary
#201F96 #965B1F #59961F
monochromatic
#0A0A31 #151563 #201F96 #2B29C9 #5554DC

Accessibility & contrast

On white

12.37
#201F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#201F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F96
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F96#FFFFFF#000000##FFFFFF
##201F961.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#002E94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #201f96;
/* rgb */ color: rgb(32, 31, 150);
/* oklch */ color: oklch(34.5% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#725db6',
    500: '#201f96',
    950: '#000000',
  },
}
SCSS
$custom: #201f96;
$custom-light: #725db6;
$custom-dark: #000000;
JSON
{
  "hex": "#201f96",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 240.504,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34486,
    "c": 0.18415,
    "h": 271.6
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#201F96
secondary
#BEBF52
accent
#E93FE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201F96

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

Preview Lab → · Contrast checker → · Palette generator →

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