#201C8B#201C8B

#201C8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.173 H 272.9°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#201C8B
RGBrgb(32, 28, 139)
HSLhsl(242, 66%, 33%)
HSVhsv(242, 80%, 55%)
CMYKcmyk(77%, 79.9%, 0%, 45.5%)
CIE-LABlab(20.05, 39.98, -59.83)
CIE-LCHlch(20.05, 71.96, 303.75°)
OKLaboklab(32.81% 0.0087 -0.1731)
OKLCHoklch(32.81% 0.173 272.9)
XYZxyz(5.6696, 3.0011, 24.7016)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C8B #878B1C
analogous
#1C508B #201C8B #571C8B
triadic
#201C8B #8B201C #1C8B20
tetradic
#201C8B #8B1C50 #878B1C #1C8B57
square
#201C8B #8B1C50 #878B1C #1C8B57
split-complementary
#201C8B #8B571C #508B1C
monochromatic
#090725 #141258 #201C8B #2C26BE #4D47DA

Accessibility & contrast

On white

13.12
#201C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#201C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C8B
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C8B#FFFFFF#000000##FFFFFF
##201C8B1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #201c8b;
/* rgb */ color: rgb(32, 28, 139);
/* oklch */ color: oklch(32.8% 0.173 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f5bae',
    500: '#201c8b',
    950: '#000000',
  },
}
SCSS
$custom: #201c8b;
$custom-light: #6f5bae;
$custom-dark: #000000;
JSON
{
  "hex": "#201c8b",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 242.162,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3281,
    "c": 0.17334,
    "h": 272.9
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#201C8B
secondary
#B8BC47
accent
#E93EE3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #201C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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