#201988#201988

#201988 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.172 H 273.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#201988
RGBrgb(32, 25, 136)
HSLhsl(244, 69%, 32%)
HSVhsv(244, 82%, 53%)
CMYKcmyk(76.5%, 81.6%, 0%, 46.7%)
CIE-LABlab(19.14, 40.59, -59.45)
CIE-LCHlch(19.14, 71.99, 304.32°)
OKLaboklab(32.07% 0.0106 -0.172)
OKLCHoklch(32.07% 0.172 273.5)
XYZxyz(5.3857, 2.7794, 23.5404)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201988 #818819
analogous
#194A88 #201988 #581988
triadic
#201988 #882019 #198820
tetradic
#201988 #88194A #818819 #198858
square
#201988 #88194A #818819 #198858
split-complementary
#201988 #885819 #4A8819
monochromatic
#080621 #140F54 #201988 #2C23BC #4940DC

Accessibility & contrast

On white

13.50
#201988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#201988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201988
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201988#FFFFFF#000000##FFFFFF
##2019881.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201988;
/* rgb */ color: rgb(32, 25, 136);
/* oklch */ color: oklch(32.1% 0.172 273.5);
Tailwind
colors: {
  custom: {
    50: '#6f59ac',
    500: '#201988',
    950: '#000000',
  },
}
SCSS
$custom: #201988;
$custom-light: #6f59ac;
$custom-dark: #000000;
JSON
{
  "hex": "#201988",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 243.784,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32069,
    "c": 0.17233,
    "h": 273.5
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#201988
secondary
#B4BB41
accent
#EC3CE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #201988

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

Preview Lab → · Contrast checker → · Palette generator →

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