#201CA8#201CA8

#201CA8 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.3% C 0.208 H 270.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#201CA8
RGBrgb(32, 28, 168)
HSLhsl(242, 71%, 38%)
HSVhsv(242, 83%, 66%)
CMYKcmyk(81%, 83.3%, 0%, 34.1%)
CIE-LABlab(23.55, 49.34, -71.85)
CIE-LCHlch(23.55, 87.16, 304.48°)
OKLaboklab(36.26% 0.0021 -0.2079)
OKLCHoklch(36.26% 0.208 270.6)
XYZxyz(8.0764, 3.9638, 37.3776)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201CA8 #A4A81C
analogous
#1C5EA8 #201CA8 #661CA8
triadic
#201CA8 #A8201C #1CA820
tetradic
#201CA8 #A81C5E #A4A81C #1CA866
square
#201CA8 #A81C5E #A4A81C #1CA866
split-complementary
#201CA8 #A8661C #5EA81C
monochromatic
#0C0B3F #161374 #201CA8 #2B26DB #5F5BE4

Accessibility & contrast

On white

11.71
#201CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#201CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201CA8
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201CA8#FFFFFF#000000##FFFFFF
##201CA81.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAC
Deuteranopia (green-blind)
#0031A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #201ca8;
/* rgb */ color: rgb(32, 28, 168);
/* oklch */ color: oklch(36.3% 0.208 270.6);
Tailwind
colors: {
  custom: {
    50: '#775dc3',
    500: '#201ca8',
    950: '#000000',
  },
}
SCSS
$custom: #201ca8;
$custom-light: #775dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#201ca8",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 241.714,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36261,
    "c": 0.20796,
    "h": 270.6
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#201CA8
secondary
#C4C758
accent
#EE3AE9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #201CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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