#202187#202187

#202187 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.163 H 272.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#202187
RGBrgb(32, 33, 135)
HSLhsl(239, 62%, 33%)
HSVhsv(239, 76%, 53%)
CMYKcmyk(76.3%, 75.6%, 0%, 47.1%)
CIE-LABlab(20.61, 35.73, -56.39)
CIE-LCHlch(20.61, 66.76, 302.36°)
OKLaboklab(33.07% 0.0073 -0.1632)
OKLCHoklch(33.07% 0.163 272.6)
XYZxyz(5.5112, 3.1435, 23.2333)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202187 #878620
analogous
#205587 #202187 #522087
triadic
#202187 #872021 #218720
tetradic
#202187 #872055 #878620 #208752
square
#202187 #872055 #878620 #208752
split-complementary
#202187 #875220 #558720
monochromatic
#090924 #141556 #202187 #2C2DB8 #4D4ED5

Accessibility & contrast

On white

12.89
#202187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202187
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202187#FFFFFF#000000##FFFFFF
##2021871.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202187;
/* rgb */ color: rgb(32, 33, 135);
/* oklch */ color: oklch(33.1% 0.163 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e5dab',
    500: '#202187',
    950: '#000000',
  },
}
SCSS
$custom: #202187;
$custom-light: #6e5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#202187",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 239.417,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33073,
    "c": 0.16335,
    "h": 272.6
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#202187
secondary
#B8B74B
accent
#E343E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202187

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

Preview Lab → · Contrast checker → · Palette generator →

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