#202A78#202A78

#202A78 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.132 H 271.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#202A78
RGBrgb(32, 42, 120)
HSLhsl(233, 58%, 30%)
HSVhsv(233, 73%, 47%)
CMYKcmyk(73.3%, 65%, 0%, 52.9%)
CIE-LABlab(21.28, 24.30, -45.80)
CIE-LCHlch(21.28, 51.85, 297.95°)
OKLaboklab(33.1% 0.0033 -0.1322)
OKLCHoklch(33.1% 0.132 271.4)
XYZxyz(4.8126, 3.3186, 18.1526)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A78 #786E20
analogous
#205678 #202A78 #422078
triadic
#202A78 #78202A #2A7820
tetradic
#202A78 #782056 #786E20 #207842
square
#202A78 #782056 #786E20 #207842
split-complementary
#202A78 #784220 #567820
monochromatic
#060818 #131948 #202A78 #2D3BA8 #4554CD

Accessibility & contrast

On white

12.62
#202A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#202A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A78
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A78#FFFFFF#000000##FFFFFF
##202A781.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202a78;
/* rgb */ color: rgb(32, 42, 120);
/* oklch */ color: oklch(33.1% 0.132 271.4);
Tailwind
colors: {
  custom: {
    50: '#6963a0',
    500: '#202a78',
    950: '#000000',
  },
}
SCSS
$custom: #202a78;
$custom-light: #6963a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202a78",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 233.182,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33101,
    "c": 0.13228,
    "h": 271.4
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#202A78
secondary
#ABA048
accent
#D047E1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #202A78

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

Preview Lab → · Contrast checker → · Palette generator →

#202A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva