#201E8C#201E8C

#201E8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.173 H 272.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#201E8C
RGBrgb(32, 30, 140)
HSLhsl(241, 65%, 33%)
HSVhsv(241, 79%, 55%)
CMYKcmyk(77.1%, 78.6%, 0%, 45.1%)
CIE-LABlab(20.55, 39.21, -59.62)
CIE-LCHlch(20.55, 71.36, 303.33°)
OKLaboklab(33.2% 0.0077 -0.1725)
OKLCHoklch(33.2% 0.173 272.6)
XYZxyz(5.7920, 3.1285, 25.1045)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E8C #8A8C1E
analogous
#1E538C #201E8C #571E8C
triadic
#201E8C #8C201E #1E8C20
tetradic
#201E8C #8C1E53 #8A8C1E #1E8C57
square
#201E8C #8C1E53 #8A8C1E #1E8C57
split-complementary
#201E8C #8C571E #538C1E
monochromatic
#090827 #14135A #201E8C #2C29BE #4E4CD9

Accessibility & contrast

On white

12.92
#201E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201E8C
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E8C#FFFFFF#000000##FFFFFF
##201E8C1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201e8c;
/* rgb */ color: rgb(32, 30, 140);
/* oklch */ color: oklch(33.2% 0.173 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f5caf',
    500: '#201e8c',
    950: '#000000',
  },
}
SCSS
$custom: #201e8c;
$custom-light: #6f5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#201e8c",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 241.091,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33197,
    "c": 0.17272,
    "h": 272.6
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#201E8C
secondary
#B9BB4B
accent
#E840E5
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #201E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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