#202487#202487

#202487 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.160 H 272.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#202487
RGBrgb(32, 36, 135)
HSLhsl(238, 62%, 33%)
HSVhsv(238, 76%, 53%)
CMYKcmyk(76.3%, 73.3%, 0%, 47.1%)
CIE-LABlab(21.27, 33.88, -55.30)
CIE-LCHlch(21.27, 64.85, 301.49°)
OKLaboklab(33.55% 0.0058 -0.16)
OKLCHoklch(33.55% 0.16 272.1)
XYZxyz(5.5982, 3.3175, 23.2623)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202487 #878320
analogous
#205787 #202487 #4F2087
triadic
#202487 #872024 #248720
tetradic
#202487 #872057 #878320 #20874F
square
#202487 #872057 #878320 #20874F
split-complementary
#202487 #874F20 #578720
monochromatic
#090A24 #141756 #202487 #2C31B8 #4D52D5

Accessibility & contrast

On white

12.62
#202487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#202487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202487
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202487#FFFFFF#000000##FFFFFF
##2024871.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202487;
/* rgb */ color: rgb(32, 36, 135);
/* oklch */ color: oklch(33.5% 0.160 272.1);
Tailwind
colors: {
  custom: {
    50: '#6d5fab',
    500: '#202487',
    950: '#000000',
  },
}
SCSS
$custom: #202487;
$custom-light: #6d5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#202487",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 237.67,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33547,
    "c": 0.16012,
    "h": 272.1
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#202487
secondary
#B8B34B
accent
#DE43E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202487

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

Preview Lab → · Contrast checker → · Palette generator →

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