#201B9E#201B9E

#201B9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.197 H 271.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#201B9E
RGBrgb(32, 27, 158)
HSLhsl(242, 71%, 36%)
HSVhsv(242, 83%, 62%)
CMYKcmyk(79.7%, 82.9%, 0%, 38%)
CIE-LABlab(22.16, 46.68, -68.08)
CIE-LCHlch(22.16, 82.55, 304.43°)
OKLaboklab(34.94% 0.0046 -0.197)
OKLCHoklch(34.94% 0.197 271.3)
XYZxyz(7.1571, 3.5588, 32.6508)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B9E #999E1B
analogous
#1B589E #201B9E #621B9E
triadic
#201B9E #9E201B #1B9E20
tetradic
#201B9E #9E1B58 #999E1B #1B9E62
square
#201B9E #9E1B58 #999E1B #1B9E62
split-complementary
#201B9E #9E621B #589E1B
monochromatic
#0B0935 #15126A #201B9E #2B24D2 #5752E1

Accessibility & contrast

On white

12.27
#201B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#201B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B9E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B9E#FFFFFF#000000##FFFFFF
##201B9E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #201b9e;
/* rgb */ color: rgb(32, 27, 158);
/* oklch */ color: oklch(34.9% 0.197 271.3);
Tailwind
colors: {
  custom: {
    50: '#745bbc',
    500: '#201b9e',
    950: '#000000',
  },
}
SCSS
$custom: #201b9e;
$custom-light: #745bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#201b9e",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 242.29,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34941,
    "c": 0.19709,
    "h": 271.3
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#201B9E
secondary
#C0C451
accent
#EE3AE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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