#202387#202387

#202387 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.161 H 272.2°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#202387
RGBrgb(32, 35, 135)
HSLhsl(238, 62%, 33%)
HSVhsv(238, 76%, 53%)
CMYKcmyk(76.3%, 74.1%, 0%, 47.1%)
CIE-LABlab(21.05, 34.50, -55.67)
CIE-LCHlch(21.05, 65.49, 301.79°)
OKLaboklab(33.39% 0.0063 -0.1611)
OKLCHoklch(33.39% 0.161 272.2)
XYZxyz(5.5684, 3.2578, 23.2523)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202387 #878420
analogous
#205787 #202387 #502087
triadic
#202387 #872023 #238720
tetradic
#202387 #872057 #878420 #208750
square
#202387 #872057 #878420 #208750
split-complementary
#202387 #875020 #578720
monochromatic
#090924 #141656 #202387 #2C30B8 #4D51D5

Accessibility & contrast

On white

12.71
#202387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#202387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202387
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202387#FFFFFF#000000##FFFFFF
##2023871.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202387;
/* rgb */ color: rgb(32, 35, 135);
/* oklch */ color: oklch(33.4% 0.161 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d5fab',
    500: '#202387',
    950: '#000000',
  },
}
SCSS
$custom: #202387;
$custom-light: #6d5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#202387",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 238.252,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33386,
    "c": 0.16122,
    "h": 272.2
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#202387
secondary
#B8B44B
accent
#E043E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202387

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

Preview Lab → · Contrast checker → · Palette generator →

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