#202299#202299

#202299 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.185 H 271.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#202299
RGBrgb(32, 34, 153)
HSLhsl(239, 65%, 36%)
HSVhsv(239, 79%, 60%)
CMYKcmyk(79.1%, 77.8%, 0%, 40%)
CIE-LABlab(22.83, 41.37, -63.90)
CIE-LCHlch(22.83, 76.13, 302.92°)
OKLaboklab(35.24% 0.0036 -0.185)
OKLCHoklch(35.24% 0.185 271.1)
XYZxyz(6.9155, 3.7503, 30.4902)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202299 #999720
analogous
#205F99 #202299 #5B2099
triadic
#202299 #992022 #229920
tetradic
#202299 #99205F #999720 #20995B
square
#202299 #99205F #999720 #20995B
split-complementary
#202299 #995B20 #5F9920
monochromatic
#0B0C34 #151766 #202299 #2B2DCC #575ADC

Accessibility & contrast

On white

12.00
#202299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#202299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202299
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202299#FFFFFF#000000##FFFFFF
##2022991.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202299;
/* rgb */ color: rgb(32, 34, 153);
/* oklch */ color: oklch(35.2% 0.185 271.1);
Tailwind
colors: {
  custom: {
    50: '#725fb8',
    500: '#202299',
    950: '#000000',
  },
}
SCSS
$custom: #202299;
$custom-light: #725fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#202299",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 239.008,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35239,
    "c": 0.18506,
    "h": 271.1
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#202299
secondary
#C0BE55
accent
#E63FE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #202299

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

Preview Lab → · Contrast checker → · Palette generator →

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