#202296#202296

#202296 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.181 H 271.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#202296
RGBrgb(32, 34, 150)
HSLhsl(239, 65%, 36%)
HSVhsv(239, 79%, 59%)
CMYKcmyk(78.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(22.49, 40.35, -62.62)
CIE-LCHlch(22.49, 74.49, 302.80°)
OKLaboklab(34.9% 0.0041 -0.1813)
OKLCHoklch(34.9% 0.181 271.3)
XYZxyz(6.6708, 3.6524, 29.2017)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202296 #969420
analogous
#205D96 #202296 #592096
triadic
#202296 #962022 #229620
tetradic
#202296 #96205D #969420 #209659
square
#202296 #96205D #969420 #209659
split-complementary
#202296 #965920 #5D9620
monochromatic
#0A0B31 #151764 #202296 #2B2DC8 #5658DB

Accessibility & contrast

On white

12.13
#202296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#202296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202296
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202296#FFFFFF#000000##FFFFFF
##2022961.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202296;
/* rgb */ color: rgb(32, 34, 150);
/* oklch */ color: oklch(34.9% 0.181 271.3);
Tailwind
colors: {
  custom: {
    50: '#715fb6',
    500: '#202296',
    950: '#000000',
  },
}
SCSS
$custom: #202296;
$custom-light: #715fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#202296",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 238.983,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34898,
    "c": 0.18136,
    "h": 271.3
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#202296
secondary
#BEBD53
accent
#E540E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202296

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

Preview Lab → · Contrast checker → · Palette generator →

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