#201C82#201C82

#201C82 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.162 H 273.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#201C82
RGBrgb(32, 28, 130)
HSLhsl(242, 65%, 31%)
HSVhsv(242, 78%, 51%)
CMYKcmyk(75.4%, 78.5%, 0%, 49%)
CIE-LABlab(19.01, 36.93, -55.89)
CIE-LCHlch(19.01, 66.99, 303.46°)
OKLaboklab(31.77% 0.0108 -0.1617)
OKLCHoklch(31.77% 0.162 273.8)
XYZxyz(5.0388, 2.7488, 21.3798)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C82 #7E821C
analogous
#1C4B82 #201C82 #531C82
triadic
#201C82 #82201C #1C8220
tetradic
#201C82 #821C4B #7E821C #1C8253
square
#201C82 #821C4B #7E821C #1C8253
split-complementary
#201C82 #82531C #4B821C
monochromatic
#07061D #141150 #201C82 #2C27B4 #4842D6

Accessibility & contrast

On white

13.55
#201C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#201C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C82
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C82#FFFFFF#000000##FFFFFF
##201C821.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201c82;
/* rgb */ color: rgb(32, 28, 130);
/* oklch */ color: oklch(31.8% 0.162 273.8);
Tailwind
colors: {
  custom: {
    50: '#6d5aa7',
    500: '#201c82',
    950: '#000000',
  },
}
SCSS
$custom: #201c82;
$custom-light: #6d5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#201c82",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 242.353,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31773,
    "c": 0.16204,
    "h": 273.8
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#201C82
secondary
#B1B544
accent
#E840E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #201C82

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

Preview Lab → · Contrast checker → · Palette generator →

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