#201C8D#201C8D

#201C8D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.176 H 272.7°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#201C8D
RGBrgb(32, 28, 141)
HSLhsl(242, 67%, 33%)
HSVhsv(242, 80%, 55%)
CMYKcmyk(77.3%, 80.1%, 0%, 44.7%)
CIE-LABlab(20.28, 40.65, -60.69)
CIE-LCHlch(20.28, 73.04, 303.81°)
OKLaboklab(33.04% 0.0083 -0.1756)
OKLCHoklch(33.04% 0.176 272.7)
XYZxyz(5.8170, 3.0601, 25.4782)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C8D #898D1C
analogous
#1C508D #201C8D #581C8D
triadic
#201C8D #8D201C #1C8D20
tetradic
#201C8D #8D1C50 #898D1C #1C8D58
square
#201C8D #8D1C50 #898D1C #1C8D58
split-complementary
#201C8D #8D581C #508D1C
monochromatic
#090827 #14125A #201C8D #2C26C0 #4E49DB

Accessibility & contrast

On white

13.03
#201C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201C8D
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C8D#FFFFFF#000000##FFFFFF
##201C8D1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201c8d;
/* rgb */ color: rgb(32, 28, 141);
/* oklch */ color: oklch(33.0% 0.176 272.7);
Tailwind
colors: {
  custom: {
    50: '#705bb0',
    500: '#201c8d',
    950: '#000000',
  },
}
SCSS
$custom: #201c8d;
$custom-light: #705bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#201c8d",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 242.124,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33043,
    "c": 0.17582,
    "h": 272.7
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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