#201B95#201B95

#201B95 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.186 H 272.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#201B95
RGBrgb(32, 27, 149)
HSLhsl(242, 69%, 35%)
HSVhsv(242, 82%, 58%)
CMYKcmyk(78.5%, 81.9%, 0%, 41.6%)
CIE-LABlab(21.06, 43.80, -64.37)
CIE-LCHlch(21.06, 77.86, 304.23°)
OKLaboklab(33.86% 0.0068 -0.1863)
OKLCHoklch(33.86% 0.186 272.1)
XYZxyz(6.4106, 3.2602, 28.7194)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B95 #90951B
analogous
#1B5395 #201B95 #5D1B95
triadic
#201B95 #95201B #1B9520
tetradic
#201B95 #951B53 #90951B #1B955D
square
#201B95 #951B53 #90951B #1B955D
split-complementary
#201B95 #955D1B #53951B
monochromatic
#0A082D #151261 #201B95 #2B24C9 #524CDF

Accessibility & contrast

On white

12.71
#201B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#201B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B95
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B95#FFFFFF#000000##FFFFFF
##201B951.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002C93
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #201b95;
/* rgb */ color: rgb(32, 27, 149);
/* oklch */ color: oklch(33.9% 0.186 272.1);
Tailwind
colors: {
  custom: {
    50: '#725bb5',
    500: '#201b95',
    950: '#000000',
  },
}
SCSS
$custom: #201b95;
$custom-light: #725bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#201b95",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 242.459,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.33861,
    "c": 0.18641,
    "h": 272.1
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#201B95
secondary
#BCC14B
accent
#EC3CE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201B95

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

Preview Lab → · Contrast checker → · Palette generator →

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