#202699#202699

#202699 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.181 H 270.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#202699
RGBrgb(32, 38, 153)
HSLhsl(237, 65%, 36%)
HSVhsv(237, 79%, 60%)
CMYKcmyk(79.1%, 75.2%, 0%, 40%)
CIE-LABlab(23.65, 39.06, -62.55)
CIE-LCHlch(23.65, 73.74, 301.98°)
OKLaboklab(35.82% 0.002 -0.1811)
OKLCHoklch(35.82% 0.181 270.6)
XYZxyz(7.0366, 3.9924, 30.5306)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202699 #999320
analogous
#206399 #202699 #572099
triadic
#202699 #992026 #269920
tetradic
#202699 #992063 #999320 #209957
square
#202699 #992063 #999320 #209957
split-complementary
#202699 #995720 #639920
monochromatic
#0B0D34 #151966 #202699 #2B33CC #575EDC

Accessibility & contrast

On white

11.68
#202699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#202699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202699
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202699#FFFFFF#000000##FFFFFF
##2026991.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202699;
/* rgb */ color: rgb(32, 38, 153);
/* oklch */ color: oklch(35.8% 0.181 270.6);
Tailwind
colors: {
  custom: {
    50: '#7262b8',
    500: '#202699',
    950: '#000000',
  },
}
SCSS
$custom: #202699;
$custom-light: #7262b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202699",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 237.025,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35819,
    "c": 0.18115,
    "h": 270.6
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#202699
secondary
#C0BA55
accent
#E03FE8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #202699

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

Preview Lab → · Contrast checker → · Palette generator →

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