#201C8E#201C8E

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

Color values

HEX#201C8E
RGBrgb(32, 28, 142)
HSLhsl(242, 67%, 33%)
HSVhsv(242, 80%, 56%)
CMYKcmyk(77.5%, 80.3%, 0%, 44.3%)
CIE-LABlab(20.40, 40.98, -61.12)
CIE-LCHlch(20.40, 73.58, 303.84°)
OKLaboklab(33.16% 0.0081 -0.1769)
OKLCHoklch(33.16% 0.177 272.6)
XYZxyz(5.8918, 3.0900, 25.8719)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C8E #8A8E1C
analogous
#1C518E #201C8E #591C8E
triadic
#201C8E #8E201C #1C8E20
tetradic
#201C8E #8E1C51 #8A8E1C #1C8E59
square
#201C8E #8E1C51 #8A8E1C #1C8E59
split-complementary
#201C8E #8E591C #518E1C
monochromatic
#090828 #14125B #201C8E #2C26C1 #4E49DB

Accessibility & contrast

On white

12.98
#201C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#201C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C8E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C8E#FFFFFF#000000##FFFFFF
##201C8E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201c8e;
/* rgb */ color: rgb(32, 28, 142);
/* oklch */ color: oklch(33.2% 0.177 272.6);
Tailwind
colors: {
  custom: {
    50: '#705bb0',
    500: '#201c8e',
    950: '#000000',
  },
}
SCSS
$custom: #201c8e;
$custom-light: #705bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#201c8e",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 242.105,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3316,
    "c": 0.17705,
    "h": 272.6
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#201C8E
secondary
#B9BD49
accent
#EA3EE4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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