#202C99#202C99

#202C99 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.175 H 269.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#202C99
RGBrgb(32, 44, 153)
HSLhsl(234, 65%, 36%)
HSVhsv(234, 79%, 60%)
CMYKcmyk(79.1%, 71.2%, 0%, 40%)
CIE-LABlab(24.98, 35.37, -60.36)
CIE-LCHlch(24.98, 69.96, 300.37°)
OKLaboklab(36.77% -0.0007 -0.1748)
OKLCHoklch(36.77% 0.175 269.8)
XYZxyz(7.2441, 4.4075, 30.5998)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C99 #998D20
analogous
#206999 #202C99 #512099
triadic
#202C99 #99202C #2C9920
tetradic
#202C99 #992069 #998D20 #209951
square
#202C99 #992069 #998D20 #209951
split-complementary
#202C99 #995120 #699920
monochromatic
#0B0F34 #151D66 #202C99 #2B3BCC #5765DC

Accessibility & contrast

On white

11.16
#202C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#202C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C99
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C99#FFFFFF#000000##FFFFFF
##202C991.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #202c99;
/* rgb */ color: rgb(32, 44, 153);
/* oklch */ color: oklch(36.8% 0.175 269.8);
Tailwind
colors: {
  custom: {
    50: '#7165b8',
    500: '#202c99',
    950: '#000000',
  },
}
SCSS
$custom: #202c99;
$custom-light: #7165b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202c99",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 234.05,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36772,
    "c": 0.17477,
    "h": 269.8
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#202C99
secondary
#C0B555
accent
#D83FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #202C99

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

Preview Lab → · Contrast checker → · Palette generator →

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