#201D8F#201D8F

#201D8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.177 H 272.4°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#201D8F
RGBrgb(32, 29, 143)
HSLhsl(242, 66%, 34%)
HSVhsv(242, 80%, 56%)
CMYKcmyk(77.6%, 79.7%, 0%, 43.9%)
CIE-LABlab(20.71, 40.78, -61.23)
CIE-LCHlch(20.71, 73.57, 303.66°)
OKLaboklab(33.41% 0.0075 -0.1772)
OKLCHoklch(33.41% 0.177 272.4)
XYZxyz(5.9913, 3.1683, 26.2771)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D8F #8C8F1D
analogous
#1D538F #201D8F #591D8F
triadic
#201D8F #8F201D #1D8F20
tetradic
#201D8F #8F1D53 #8C8F1D #1D8F59
square
#201D8F #8F1D53 #8C8F1D #1D8F59
split-complementary
#201D8F #8F591D #538F1D
monochromatic
#090829 #15135C #201D8F #2B27C2 #504CDB

Accessibility & contrast

On white

12.85
#201D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D8F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D8F#FFFFFF#000000##FFFFFF
##201D8F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #201d8f;
/* rgb */ color: rgb(32, 29, 143);
/* oklch */ color: oklch(33.4% 0.177 272.4);
Tailwind
colors: {
  custom: {
    50: '#705bb1',
    500: '#201d8f',
    950: '#000000',
  },
}
SCSS
$custom: #201d8f;
$custom-light: #705bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#201d8f",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 241.579,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33408,
    "c": 0.17738,
    "h": 272.4
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#201D8F
secondary
#BABD4B
accent
#E93FE5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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