#201987#201987

#201987 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.171 H 273.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#201987
RGBrgb(32, 25, 135)
HSLhsl(244, 69%, 31%)
HSVhsv(244, 81%, 53%)
CMYKcmyk(76.3%, 81.5%, 0%, 47.1%)
CIE-LABlab(19.02, 40.26, -59.02)
CIE-LCHlch(19.02, 71.45, 304.30°)
OKLaboklab(31.95% 0.0109 -0.1708)
OKLCHoklch(31.95% 0.171 273.6)
XYZxyz(5.3150, 2.7511, 23.1679)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201987 #808719
analogous
#194987 #201987 #571987
triadic
#201987 #872019 #198720
tetradic
#201987 #871949 #808719 #198757
square
#201987 #871949 #808719 #198757
split-complementary
#201987 #875719 #498719
monochromatic
#080620 #140F53 #201987 #2C23BB #493FDB

Accessibility & contrast

On white

13.54
#201987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#201987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201987
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201987#FFFFFF#000000##FFFFFF
##2019871.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201987;
/* rgb */ color: rgb(32, 25, 135);
/* oklch */ color: oklch(32.0% 0.171 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e59ab',
    500: '#201987',
    950: '#000000',
  },
}
SCSS
$custom: #201987;
$custom-light: #6e59ab;
$custom-dark: #000000;
JSON
{
  "hex": "#201987",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 243.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31951,
    "c": 0.1711,
    "h": 273.6
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#201987
secondary
#B3BA41
accent
#EC3CE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #201987

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

Preview Lab → · Contrast checker → · Palette generator →

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