#201D97#201D97

#201D97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.187 H 271.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#201D97
RGBrgb(32, 29, 151)
HSLhsl(241, 68%, 35%)
HSVhsv(241, 81%, 59%)
CMYKcmyk(78.8%, 80.8%, 0%, 40.8%)
CIE-LABlab(21.65, 43.42, -64.62)
CIE-LCHlch(21.65, 77.86, 303.90°)
OKLaboklab(34.35% 0.0057 -0.187)
OKLCHoklch(34.35% 0.187 271.7)
XYZxyz(6.6191, 3.4194, 29.5833)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D97 #94971D
analogous
#1D5797 #201D97 #5D1D97
triadic
#201D97 #97201D #1D9720
tetradic
#201D97 #971D57 #94971D #1D975D
square
#201D97 #971D57 #94971D #1D975D
split-complementary
#201D97 #975D1D #57971D
monochromatic
#0A0930 #151364 #201D97 #2B27CA #5451DE

Accessibility & contrast

On white

12.47
#201D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D97
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D97#FFFFFF#000000##FFFFFF
##201D971.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201d97;
/* rgb */ color: rgb(32, 29, 151);
/* oklch */ color: oklch(34.3% 0.187 271.7);
Tailwind
colors: {
  custom: {
    50: '#725cb7',
    500: '#201d97',
    950: '#000000',
  },
}
SCSS
$custom: #201d97;
$custom-light: #725cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#201d97",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 241.475,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34345,
    "c": 0.18714,
    "h": 271.7
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#201D97
secondary
#BEC04F
accent
#EB3DE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201D97

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

Preview Lab → · Contrast checker → · Palette generator →

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