#202494#202494

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

Color values

HEX#202494
RGBrgb(32, 36, 148)
HSLhsl(238, 64%, 35%)
HSVhsv(238, 78%, 58%)
CMYKcmyk(78.4%, 75.7%, 0%, 42%)
CIE-LABlab(22.68, 38.50, -61.07)
CIE-LCHlch(22.68, 72.19, 302.22°)
OKLaboklab(34.97% 0.0037 -0.1768)
OKLCHoklch(34.97% 0.177 271.2)
XYZxyz(6.5700, 3.7062, 28.3803)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202494 #949020
analogous
#205E94 #202494 #562094
triadic
#202494 #942024 #249420
tetradic
#202494 #94205E #949020 #209456
square
#202494 #94205E #949020 #209456
split-complementary
#202494 #945620 #5E9420
monochromatic
#0A0C2F #151862 #202494 #2B30C6 #5459DA

Accessibility & contrast

On white

12.06
#202494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202494
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202494#FFFFFF#000000##FFFFFF
##2024941.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202494;
/* rgb */ color: rgb(32, 36, 148);
/* oklch */ color: oklch(35.0% 0.177 271.2);
Tailwind
colors: {
  custom: {
    50: '#7160b5',
    500: '#202494',
    950: '#000000',
  },
}
SCSS
$custom: #202494;
$custom-light: #7160b5;
$custom-dark: #000000;
JSON
{
  "hex": "#202494",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 237.931,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.17687,
    "h": 271.2
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#202494
secondary
#BEBA52
accent
#E240E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202494

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

Preview Lab → · Contrast checker → · Palette generator →

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