#202495#202495

#202495 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.178 H 271.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#202495
RGBrgb(32, 36, 149)
HSLhsl(238, 65%, 35%)
HSVhsv(238, 79%, 58%)
CMYKcmyk(78.5%, 75.8%, 0%, 41.6%)
CIE-LABlab(22.79, 38.85, -61.51)
CIE-LCHlch(22.79, 72.75, 302.27°)
OKLaboklab(35.08% 0.0035 -0.1781)
OKLCHoklch(35.08% 0.178 271.1)
XYZxyz(6.6495, 3.7380, 28.7990)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202495 #959120
analogous
#205E95 #202495 #572095
triadic
#202495 #952024 #249520
tetradic
#202495 #95205E #959120 #209557
square
#202495 #95205E #959120 #209557
split-complementary
#202495 #955720 #5E9520
monochromatic
#0A0C30 #151863 #202495 #2B30C7 #5559DA

Accessibility & contrast

On white

12.02
#202495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202495
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202495#FFFFFF#000000##FFFFFF
##2024951.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202495;
/* rgb */ color: rgb(32, 36, 149);
/* oklch */ color: oklch(35.1% 0.178 271.1);
Tailwind
colors: {
  custom: {
    50: '#7160b5',
    500: '#202495',
    950: '#000000',
  },
}
SCSS
$custom: #202495;
$custom-light: #7160b5;
$custom-dark: #000000;
JSON
{
  "hex": "#202495",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 237.949,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35077,
    "c": 0.17813,
    "h": 271.1
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#202495
secondary
#BEBA53
accent
#E240E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202495

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

Preview Lab → · Contrast checker → · Palette generator →

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