#202088#202088

#202088 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.166 H 272.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#202088
RGBrgb(32, 32, 136)
HSLhsl(240, 62%, 33%)
HSVhsv(240, 76%, 53%)
CMYKcmyk(76.5%, 76.5%, 0%, 46.7%)
CIE-LABlab(20.51, 36.68, -57.19)
CIE-LCHlch(20.51, 67.94, 302.67°)
OKLaboklab(33.03% 0.0076 -0.1655)
OKLCHoklch(33.03% 0.166 272.6)
XYZxyz(5.5546, 3.1171, 23.5967)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202088 #888820
analogous
#205488 #202088 #542088
triadic
#202088 #882020 #208820
tetradic
#202088 #882054 #888820 #208854
square
#202088 #882054 #888820 #208854
split-complementary
#202088 #885420 #548820
monochromatic
#090925 #141456 #202088 #2C2CBA #4D4DD5

Accessibility & contrast

On white

12.93
#202088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202088
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202088#FFFFFF#000000##FFFFFF
##2020881.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202088;
/* rgb */ color: rgb(32, 32, 136);
/* oklch */ color: oklch(33.0% 0.166 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e5dac',
    500: '#202088',
    950: '#000000',
  },
}
SCSS
$custom: #202088;
$custom-light: #6e5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#202088",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33032,
    "c": 0.16568,
    "h": 272.6
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#202088
secondary
#B8B84C
accent
#E543E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202088

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

Preview Lab → · Contrast checker → · Palette generator →

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