#201D96#201D96

#201D96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.186 H 271.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#201D96
RGBrgb(32, 29, 150)
HSLhsl(241, 68%, 35%)
HSVhsv(241, 81%, 59%)
CMYKcmyk(78.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(21.53, 43.09, -64.20)
CIE-LCHlch(21.53, 77.32, 303.87°)
OKLaboklab(34.23% 0.0059 -0.1858)
OKLCHoklch(34.23% 0.186 271.8)
XYZxyz(6.5382, 3.3871, 29.1574)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D96 #93961D
analogous
#1D5696 #201D96 #5D1D96
triadic
#201D96 #96201D #1D9620
tetradic
#201D96 #961D56 #93961D #1D965D
square
#201D96 #961D56 #93961D #1D965D
split-complementary
#201D96 #965D1D #56961D
monochromatic
#0A092F #151363 #201D96 #2B27C9 #5450DD

Accessibility & contrast

On white

12.52
#201D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#201D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D96
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D96#FFFFFF#000000##FFFFFF
##201D961.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002D94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #201d96;
/* rgb */ color: rgb(32, 29, 150);
/* oklch */ color: oklch(34.2% 0.186 271.8);
Tailwind
colors: {
  custom: {
    50: '#725cb6',
    500: '#201d96',
    950: '#000000',
  },
}
SCSS
$custom: #201d96;
$custom-light: #725cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#201d96",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 241.488,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34227,
    "c": 0.18592,
    "h": 271.8
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#201D96
secondary
#BDC04F
accent
#EA3DE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201D96

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

Preview Lab → · Contrast checker → · Palette generator →

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