#201982#201982

#201982 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.165 H 274.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#201982
RGBrgb(32, 25, 130)
HSLhsl(244, 68%, 30%)
HSVhsv(244, 81%, 51%)
CMYKcmyk(75.4%, 80.8%, 0%, 49%)
CIE-LABlab(18.42, 38.61, -56.85)
CIE-LCHlch(18.42, 68.72, 304.18°)
OKLaboklab(31.36% 0.0121 -0.1645)
OKLCHoklch(31.36% 0.165 274.2)
XYZxyz(4.9712, 2.6135, 21.3572)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201982 #7B8219
analogous
#194682 #201982 #541982
triadic
#201982 #822019 #198220
tetradic
#201982 #821946 #7B8219 #198254
square
#201982 #821946 #7B8219 #198254
split-complementary
#201982 #825419 #468219
monochromatic
#07051B #130F4F #201982 #2D23B5 #463CD9

Accessibility & contrast

On white

13.79
#201982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#201982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201982
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201982#FFFFFF#000000##FFFFFF
##2019821.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201982;
/* rgb */ color: rgb(32, 25, 130);
/* oklch */ color: oklch(31.4% 0.165 274.2);
Tailwind
colors: {
  custom: {
    50: '#6d58a7',
    500: '#201982',
    950: '#000000',
  },
}
SCSS
$custom: #201982;
$custom-light: #6d58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#201982",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 244,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31363,
    "c": 0.1649,
    "h": 274.2
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#201982
secondary
#AEB641
accent
#EB3DDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201982

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

Preview Lab → · Contrast checker → · Palette generator →

#201982 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva