#202099#202099

#202099 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.187 H 271.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#202099
RGBrgb(32, 32, 153)
HSLhsl(240, 65%, 36%)
HSVhsv(240, 79%, 60%)
CMYKcmyk(79.1%, 79.1%, 0%, 40%)
CIE-LABlab(22.44, 42.48, -64.54)
CIE-LCHlch(22.44, 77.27, 303.35°)
OKLaboklab(34.97% 0.0043 -0.1869)
OKLCHoklch(34.97% 0.187 271.3)
XYZxyz(6.8600, 3.6392, 30.4717)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202099 #999920
analogous
#205D99 #202099 #5D2099
triadic
#202099 #992020 #209920
tetradic
#202099 #99205D #999920 #20995D
square
#202099 #99205D #999920 #20995D
split-complementary
#202099 #995D20 #5D9920
monochromatic
#0B0B34 #151566 #202099 #2B2BCC #5757DC

Accessibility & contrast

On white

12.15
#202099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202099
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202099#FFFFFF#000000##FFFFFF
##2020991.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202099;
/* rgb */ color: rgb(32, 32, 153);
/* oklch */ color: oklch(35.0% 0.187 271.3);
Tailwind
colors: {
  custom: {
    50: '#725eb8',
    500: '#202099',
    950: '#000000',
  },
}
SCSS
$custom: #202099;
$custom-light: #725eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#202099",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34967,
    "c": 0.18691,
    "h": 271.3
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#202099
secondary
#C0C055
accent
#E83FE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #202099

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

Preview Lab → · Contrast checker → · Palette generator →

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