#202399#202399

#202399 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.184 H 271.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#202399
RGBrgb(32, 35, 153)
HSLhsl(239, 65%, 36%)
HSVhsv(239, 79%, 60%)
CMYKcmyk(79.1%, 77.1%, 0%, 40%)
CIE-LABlab(23.03, 40.81, -63.57)
CIE-LCHlch(23.03, 75.54, 302.70°)
OKLaboklab(35.38% 0.0032 -0.1841)
OKLCHoklch(35.38% 0.184 271)
XYZxyz(6.9445, 3.8083, 30.4999)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202399 #999620
analogous
#206099 #202399 #5A2099
triadic
#202399 #992023 #239920
tetradic
#202399 #992060 #999620 #20995A
square
#202399 #992060 #999620 #20995A
split-complementary
#202399 #995A20 #609920
monochromatic
#0B0C34 #151766 #202399 #2B2FCC #575BDC

Accessibility & contrast

On white

11.92
#202399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#202399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202399
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202399#FFFFFF#000000##FFFFFF
##2023991.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202399;
/* rgb */ color: rgb(32, 35, 153);
/* oklch */ color: oklch(35.4% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#7260b8',
    500: '#202399',
    950: '#000000',
  },
}
SCSS
$custom: #202399;
$custom-light: #7260b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202399",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 238.512,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3538,
    "c": 0.18411,
    "h": 271
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#202399
secondary
#C0BD55
accent
#E43FE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #202399

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

Preview Lab → · Contrast checker → · Palette generator →

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