#201E8D#201E8D

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

Color values

HEX#201E8D
RGBrgb(32, 30, 141)
HSLhsl(241, 65%, 34%)
HSVhsv(241, 79%, 55%)
CMYKcmyk(77.3%, 78.7%, 0%, 44.7%)
CIE-LABlab(20.67, 39.55, -60.05)
CIE-LCHlch(20.67, 71.91, 303.37°)
OKLaboklab(33.31% 0.0075 -0.1738)
OKLCHoklch(33.31% 0.174 272.5)
XYZxyz(5.8660, 3.1581, 25.4946)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E8D #8B8D1E
analogous
#1E538D #201E8D #571E8D
triadic
#201E8D #8D201E #1E8D20
tetradic
#201E8D #8D1E53 #8B8D1E #1E8D57
square
#201E8D #8D1E53 #8B8D1E #1E8D57
split-complementary
#201E8D #8D571E #538D1E
monochromatic
#090928 #15135B #201E8D #2B29BF #4F4CD9

Accessibility & contrast

On white

12.87
#201E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201E8D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E8D#FFFFFF#000000##FFFFFF
##201E8D1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201e8d;
/* rgb */ color: rgb(32, 30, 141);
/* oklch */ color: oklch(33.3% 0.174 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f5cb0',
    500: '#201e8d',
    950: '#000000',
  },
}
SCSS
$custom: #201e8d;
$custom-light: #6f5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#201e8d",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 241.081,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33312,
    "c": 0.17397,
    "h": 272.5
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#201E8D
secondary
#BABC4B
accent
#E840E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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