#201D81#201D81

#201D81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.160 H 273.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#201D81
RGBrgb(32, 29, 129)
HSLhsl(242, 63%, 31%)
HSVhsv(242, 78%, 51%)
CMYKcmyk(75.2%, 77.5%, 0%, 49.4%)
CIE-LABlab(19.10, 36.01, -55.10)
CIE-LCHlch(19.10, 65.83, 303.16°)
OKLaboklab(31.8% 0.0105 -0.1594)
OKLCHoklch(31.8% 0.16 273.8)
XYZxyz(4.9962, 2.7703, 21.0360)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D81 #7E811D
analogous
#1D4C81 #201D81 #521D81
triadic
#201D81 #81201D #1D8120
tetradic
#201D81 #811D4C #7E811D #1D8152
square
#201D81 #811D4C #7E811D #1D8152
split-complementary
#201D81 #81521D #4C811D
monochromatic
#07071D #14124F #201D81 #2C28B3 #4844D5

Accessibility & contrast

On white

13.51
#201D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#201D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D81
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D81#FFFFFF#000000##FFFFFF
##201D811.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201d81;
/* rgb */ color: rgb(32, 29, 129);
/* oklch */ color: oklch(31.8% 0.160 273.8);
Tailwind
colors: {
  custom: {
    50: '#6c5ba7',
    500: '#201d81',
    950: '#000000',
  },
}
SCSS
$custom: #201d81;
$custom-light: #6c5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#201d81",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 241.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31804,
    "c": 0.15976,
    "h": 273.8
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#201D81
secondary
#B1B446
accent
#E641E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #201D81

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

Preview Lab → · Contrast checker → · Palette generator →

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