#202A99#202A99

#202A99 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.177 H 270.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#202A99
RGBrgb(32, 42, 153)
HSLhsl(235, 65%, 36%)
HSVhsv(235, 79%, 60%)
CMYKcmyk(79.1%, 72.5%, 0%, 40%)
CIE-LABlab(24.52, 36.63, -61.11)
CIE-LCHlch(24.52, 71.24, 300.94°)
OKLaboklab(36.44% 0.0003 -0.177)
OKLCHoklch(36.44% 0.177 270.1)
XYZxyz(7.1714, 4.2621, 30.5755)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A99 #998F20
analogous
#206799 #202A99 #532099
triadic
#202A99 #99202A #2A9920
tetradic
#202A99 #992067 #998F20 #209953
square
#202A99 #992067 #998F20 #209953
split-complementary
#202A99 #995320 #679920
monochromatic
#0B0E34 #151C66 #202A99 #2B38CC #5762DC

Accessibility & contrast

On white

11.34
#202A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#202A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A99
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A99#FFFFFF#000000##FFFFFF
##202A991.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202a99;
/* rgb */ color: rgb(32, 42, 153);
/* oklch */ color: oklch(36.4% 0.177 270.1);
Tailwind
colors: {
  custom: {
    50: '#7164b8',
    500: '#202a99',
    950: '#000000',
  },
}
SCSS
$custom: #202a99;
$custom-light: #7164b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202a99",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 235.041,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36443,
    "c": 0.17696,
    "h": 270.1
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#202A99
secondary
#C0B755
accent
#DA3FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #202A99

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

Preview Lab → · Contrast checker → · Palette generator →

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