#201D8B#201D8B

#201D8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.172 H 272.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#201D8B
RGBrgb(32, 29, 139)
HSLhsl(242, 65%, 33%)
HSVhsv(242, 79%, 55%)
CMYKcmyk(77%, 79.1%, 0%, 45.5%)
CIE-LABlab(20.24, 39.43, -59.51)
CIE-LCHlch(20.24, 71.39, 303.53°)
OKLaboklab(32.95% 0.0083 -0.1722)
OKLCHoklch(32.95% 0.172 272.8)
XYZxyz(5.6937, 3.0493, 24.7096)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D8B #888B1D
analogous
#1D518B #201D8B #571D8B
triadic
#201D8B #8B201D #1D8B20
tetradic
#201D8B #8B1D51 #888B1D #1D8B57
square
#201D8B #8B1D51 #888B1D #1D8B57
split-complementary
#201D8B #8B571D #518B1D
monochromatic
#090826 #141258 #201D8B #2C28BE #4D49D9

Accessibility & contrast

On white

13.04
#201D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#201D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D8B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D8B#FFFFFF#000000##FFFFFF
##201D8B1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201d8b;
/* rgb */ color: rgb(32, 29, 139);
/* oklch */ color: oklch(32.9% 0.172 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f5bae',
    500: '#201d8b',
    950: '#000000',
  },
}
SCSS
$custom: #201d8b;
$custom-light: #6f5bae;
$custom-dark: #000000;
JSON
{
  "hex": "#201d8b",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 241.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32945,
    "c": 0.17242,
    "h": 272.8
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#201D8B
secondary
#B8BB49
accent
#E83FE4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #201D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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