#202396#202396

#202396 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.180 H 271.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#202396
RGBrgb(32, 35, 150)
HSLhsl(238, 65%, 36%)
HSVhsv(238, 79%, 59%)
CMYKcmyk(78.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(22.69, 39.78, -62.28)
CIE-LCHlch(22.69, 73.90, 302.56°)
OKLaboklab(35.04% 0.0037 -0.1803)
OKLCHoklch(35.04% 0.18 271.2)
XYZxyz(6.6999, 3.7104, 29.2113)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202396 #969320
analogous
#205E96 #202396 #582096
triadic
#202396 #962023 #239620
tetradic
#202396 #96205E #969320 #209658
square
#202396 #96205E #969320 #209658
split-complementary
#202396 #965820 #5E9620
monochromatic
#0A0B31 #151764 #202396 #2B2FC8 #5659DB

Accessibility & contrast

On white

12.05
#202396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#202396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202396
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202396#FFFFFF#000000##FFFFFF
##2023961.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.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: #202396;
/* rgb */ color: rgb(32, 35, 150);
/* oklch */ color: oklch(35.0% 0.180 271.2);
Tailwind
colors: {
  custom: {
    50: '#715fb6',
    500: '#202396',
    950: '#000000',
  },
}
SCSS
$custom: #202396;
$custom-light: #715fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#202396",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 238.475,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35042,
    "c": 0.18038,
    "h": 271.2
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#202396
secondary
#BEBC53
accent
#E440E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202396

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

Preview Lab → · Contrast checker → · Palette generator →

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