#202988#202988

#202988 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.156 H 271.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#202988
RGBrgb(32, 41, 136)
HSLhsl(235, 62%, 33%)
HSVhsv(235, 76%, 53%)
CMYKcmyk(76.5%, 69.9%, 0%, 46.7%)
CIE-LABlab(22.55, 31.04, -53.83)
CIE-LCHlch(22.55, 62.13, 299.97°)
OKLaboklab(34.5% 0.0028 -0.1557)
OKLCHoklch(34.5% 0.156 271)
XYZxyz(5.8310, 3.6699, 23.6888)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202988 #887F20
analogous
#205D88 #202988 #4B2088
triadic
#202988 #882029 #298820
tetradic
#202988 #88205D #887F20 #20884B
square
#202988 #88205D #887F20 #20884B
split-complementary
#202988 #884B20 #5D8820
monochromatic
#090B25 #141A56 #202988 #2C38BA #4D59D5

Accessibility & contrast

On white

12.11
#202988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#202988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202988
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202988#FFFFFF#000000##FFFFFF
##2029881.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202988;
/* rgb */ color: rgb(32, 41, 136);
/* oklch */ color: oklch(34.5% 0.156 271.0);
Tailwind
colors: {
  custom: {
    50: '#6d63ac',
    500: '#202988',
    950: '#000000',
  },
}
SCSS
$custom: #202988;
$custom-light: #6d63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202988",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 234.808,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34497,
    "c": 0.15575,
    "h": 271
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#202988
secondary
#B8AF4C
accent
#D743E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202988

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

Preview Lab → · Contrast checker → · Palette generator →

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