#202087#202087

#202087 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.164 H 272.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#202087
RGBrgb(32, 32, 135)
HSLhsl(240, 62%, 33%)
HSVhsv(240, 76%, 53%)
CMYKcmyk(76.3%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.40, 36.33, -56.75)
CIE-LCHlch(20.40, 67.38, 302.63°)
OKLaboklab(32.92% 0.0078 -0.1642)
OKLCHoklch(32.92% 0.164 272.7)
XYZxyz(5.4839, 3.0888, 23.2242)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202087 #878720
analogous
#205387 #202087 #532087
triadic
#202087 #872020 #208720
tetradic
#202087 #872053 #878720 #208753
square
#202087 #872053 #878720 #208753
split-complementary
#202087 #875320 #538720
monochromatic
#090924 #141456 #202087 #2C2CB8 #4D4DD5

Accessibility & contrast

On white

12.98
#202087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202087
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202087#FFFFFF#000000##FFFFFF
##2020871.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202087;
/* rgb */ color: rgb(32, 32, 135);
/* oklch */ color: oklch(32.9% 0.164 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e5dab',
    500: '#202087',
    950: '#000000',
  },
}
SCSS
$custom: #202087;
$custom-light: #6e5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#202087",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 240,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32921,
    "c": 0.1644,
    "h": 272.7
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#202087
secondary
#B8B84B
accent
#E543E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202087

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

Preview Lab → · Contrast checker → · Palette generator →

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