#201B97#201B97

#201B97 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.189 H 271.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#201B97
RGBrgb(32, 27, 151)
HSLhsl(242, 70%, 35%)
HSVhsv(242, 82%, 59%)
CMYKcmyk(78.8%, 82.1%, 0%, 40.8%)
CIE-LABlab(21.30, 44.44, -65.20)
CIE-LCHlch(21.30, 78.91, 304.28°)
OKLaboklab(34.1% 0.0063 -0.1887)
OKLCHoklch(34.1% 0.189 271.9)
XYZxyz(6.5716, 3.3246, 29.5675)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B97 #92971B
analogous
#1B5497 #201B97 #5E1B97
triadic
#201B97 #97201B #1B9720
tetradic
#201B97 #971B54 #92971B #1B975E
square
#201B97 #971B54 #92971B #1B975E
split-complementary
#201B97 #975E1B #54971B
monochromatic
#0A082F #151263 #201B97 #2B24CB #534DDF

Accessibility & contrast

On white

12.61
#201B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#201B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B97
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B97#FFFFFF#000000##FFFFFF
##201B971.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #201b97;
/* rgb */ color: rgb(32, 27, 151);
/* oklch */ color: oklch(34.1% 0.189 271.9);
Tailwind
colors: {
  custom: {
    50: '#725bb7',
    500: '#201b97',
    950: '#000000',
  },
}
SCSS
$custom: #201b97;
$custom-light: #725bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#201b97",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 242.419,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.341,
    "c": 0.1888,
    "h": 271.9
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#201B97
secondary
#BDC14C
accent
#EC3BE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201B97

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

Preview Lab → · Contrast checker → · Palette generator →

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