#201D8E#201D8E

#201D8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.176 H 272.5°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#201D8E
RGBrgb(32, 29, 142)
HSLhsl(242, 66%, 34%)
HSVhsv(242, 80%, 56%)
CMYKcmyk(77.5%, 79.6%, 0%, 44.3%)
CIE-LABlab(20.59, 40.44, -60.80)
CIE-LCHlch(20.59, 73.02, 303.63°)
OKLaboklab(33.29% 0.0077 -0.176)
OKLCHoklch(33.29% 0.176 272.5)
XYZxyz(5.9159, 3.1382, 25.8799)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D8E #8B8E1D
analogous
#1D528E #201D8E #581D8E
triadic
#201D8E #8E201D #1D8E20
tetradic
#201D8E #8E1D52 #8B8E1D #1D8E58
square
#201D8E #8E1D52 #8B8E1D #1D8E58
split-complementary
#201D8E #8E581D #528E1D
monochromatic
#090828 #15135B #201D8E #2B27C1 #4F4BDA

Accessibility & contrast

On white

12.90
#201D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#201D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D8E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D8E#FFFFFF#000000##FFFFFF
##201D8E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #201d8e;
/* rgb */ color: rgb(32, 29, 142);
/* oklch */ color: oklch(33.3% 0.176 272.5);
Tailwind
colors: {
  custom: {
    50: '#705bb0',
    500: '#201d8e',
    950: '#000000',
  },
}
SCSS
$custom: #201d8e;
$custom-light: #705bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#201d8e",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 241.593,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33292,
    "c": 0.17614,
    "h": 272.5
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#201D8E
secondary
#BABD4A
accent
#E93FE4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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