#202587#202587

#202587 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.159 H 271.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#202587
RGBrgb(32, 37, 135)
HSLhsl(237, 62%, 33%)
HSVhsv(237, 76%, 53%)
CMYKcmyk(76.3%, 72.6%, 0%, 47.1%)
CIE-LABlab(21.50, 33.25, -54.92)
CIE-LCHlch(21.50, 64.20, 301.19°)
OKLaboklab(33.71% 0.0052 -0.1589)
OKLCHoklch(33.71% 0.159 271.9)
XYZxyz(5.6289, 3.3789, 23.2725)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202587 #878220
analogous
#205987 #202587 #4E2087
triadic
#202587 #872025 #258720
tetradic
#202587 #872059 #878220 #20874E
square
#202587 #872059 #878220 #20874E
split-complementary
#202587 #874E20 #598720
monochromatic
#090A24 #141756 #202587 #2C33B8 #4D53D5

Accessibility & contrast

On white

12.53
#202587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#202587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202587
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202587#FFFFFF#000000##FFFFFF
##2025871.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202587;
/* rgb */ color: rgb(32, 37, 135);
/* oklch */ color: oklch(33.7% 0.159 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d60ab',
    500: '#202587',
    950: '#000000',
  },
}
SCSS
$custom: #202587;
$custom-light: #6d60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#202587",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 237.087,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33711,
    "c": 0.15901,
    "h": 271.9
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#202587
secondary
#B8B24B
accent
#DD43E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202587

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

Preview Lab → · Contrast checker → · Palette generator →

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