#202A87#202A87

#202A87 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.153 H 270.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#202A87
RGBrgb(32, 42, 135)
HSLhsl(234, 62%, 33%)
HSVhsv(234, 76%, 53%)
CMYKcmyk(76.3%, 68.9%, 0%, 47.1%)
CIE-LABlab(22.69, 30.01, -52.96)
CIE-LCHlch(22.69, 60.87, 299.54°)
OKLaboklab(34.57% 0.0023 -0.1532)
OKLCHoklch(34.57% 0.153 270.9)
XYZxyz(5.7953, 3.7117, 23.3280)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A87 #877D20
analogous
#205D87 #202A87 #4A2087
triadic
#202A87 #87202A #2A8720
tetradic
#202A87 #87205D #877D20 #20874A
square
#202A87 #87205D #877D20 #20874A
split-complementary
#202A87 #874A20 #5D8720
monochromatic
#090B24 #141B56 #202A87 #2C39B8 #4D5AD5

Accessibility & contrast

On white

12.05
#202A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#202A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A87
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A87#FFFFFF#000000##FFFFFF
##202A871.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202a87;
/* rgb */ color: rgb(32, 42, 135);
/* oklch */ color: oklch(34.6% 0.153 270.9);
Tailwind
colors: {
  custom: {
    50: '#6d63ab',
    500: '#202a87',
    950: '#000000',
  },
}
SCSS
$custom: #202a87;
$custom-light: #6d63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#202a87",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 234.175,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34573,
    "c": 0.15321,
    "h": 270.9
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#202A87
secondary
#B8AD4B
accent
#D543E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202A87

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

Preview Lab → · Contrast checker → · Palette generator →

#202A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva