#201981#201981

#201981 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.164 H 274.3°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#201981
RGBrgb(32, 25, 129)
HSLhsl(244, 68%, 30%)
HSVhsv(244, 81%, 51%)
CMYKcmyk(75.2%, 80.6%, 0%, 49.4%)
CIE-LABlab(18.31, 38.27, -56.41)
CIE-LCHlch(18.31, 68.17, 304.15°)
OKLaboklab(31.25% 0.0124 -0.1632)
OKLCHoklch(31.25% 0.164 274.3)
XYZxyz(4.9044, 2.5868, 21.0055)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201981 #7A8119
analogous
#194681 #201981 #541981
triadic
#201981 #812019 #198120
tetradic
#201981 #811946 #7A8119 #198154
square
#201981 #811946 #7A8119 #198154
split-complementary
#201981 #815419 #468119
monochromatic
#07051A #130F4E #201981 #2D23B4 #463BD9

Accessibility & contrast

On white

13.84
#201981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201981
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201981#FFFFFF#000000##FFFFFF
##2019811.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00287F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201981;
/* rgb */ color: rgb(32, 25, 129);
/* oklch */ color: oklch(31.2% 0.164 274.3);
Tailwind
colors: {
  custom: {
    50: '#6d58a7',
    500: '#201981',
    950: '#000000',
  },
}
SCSS
$custom: #201981;
$custom-light: #6d58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#201981",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 244.038,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31246,
    "c": 0.16364,
    "h": 274.3
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#201981
secondary
#ADB541
accent
#EA3DDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201981

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

Preview Lab → · Contrast checker → · Palette generator →

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