#201D8A#201D8A

#201D8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.171 H 272.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#201D8A
RGBrgb(32, 29, 138)
HSLhsl(242, 65%, 33%)
HSVhsv(242, 79%, 54%)
CMYKcmyk(76.8%, 79%, 0%, 45.9%)
CIE-LABlab(20.12, 39.09, -59.07)
CIE-LCHlch(20.12, 70.84, 303.49°)
OKLaboklab(32.83% 0.0086 -0.1709)
OKLCHoklch(32.83% 0.171 272.9)
XYZxyz(5.6209, 3.0202, 24.3265)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D8A #878A1D
analogous
#1D518A #201D8A #561D8A
triadic
#201D8A #8A201D #1D8A20
tetradic
#201D8A #8A1D51 #878A1D #1D8A56
square
#201D8A #8A1D51 #878A1D #1D8A56
split-complementary
#201D8A #8A561D #518A1D
monochromatic
#090825 #141257 #201D8A #2C28BD #4D49D9

Accessibility & contrast

On white

13.09
#201D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#201D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D8A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D8A#FFFFFF#000000##FFFFFF
##201D8A1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201d8a;
/* rgb */ color: rgb(32, 29, 138);
/* oklch */ color: oklch(32.8% 0.171 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f5bad',
    500: '#201d8a',
    950: '#000000',
  },
}
SCSS
$custom: #201d8a;
$custom-light: #6f5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#201d8a",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 241.651,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32829,
    "c": 0.17116,
    "h": 272.9
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#201D8A
secondary
#B8BB48
accent
#E840E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #201D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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