#202D78#202D78

#202D78 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.128 H 270.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#202D78
RGBrgb(32, 45, 120)
HSLhsl(231, 58%, 30%)
HSVhsv(231, 73%, 47%)
CMYKcmyk(73.3%, 62.5%, 0%, 52.9%)
CIE-LABlab(22.09, 22.22, -44.48)
CIE-LCHlch(22.09, 49.72, 296.54°)
OKLaboklab(33.7% 0.0009 -0.1283)
OKLCHoklch(33.7% 0.128 270.4)
XYZxyz(4.9231, 3.5394, 18.1894)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D78 #786B20
analogous
#205978 #202D78 #3F2078
triadic
#202D78 #78202D #2D7820
tetradic
#202D78 #782059 #786B20 #20783F
square
#202D78 #782059 #786B20 #20783F
split-complementary
#202D78 #783F20 #597820
monochromatic
#060918 #131B48 #202D78 #2D3FA8 #4559CD

Accessibility & contrast

On white

12.30
#202D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#202D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D78
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D78#FFFFFF#000000##FFFFFF
##202D781.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202d78;
/* rgb */ color: rgb(32, 45, 120);
/* oklch */ color: oklch(33.7% 0.128 270.4);
Tailwind
colors: {
  custom: {
    50: '#6965a0',
    500: '#202d78',
    950: '#000000',
  },
}
SCSS
$custom: #202d78;
$custom-light: #6965a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202d78",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 231.136,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33699,
    "c": 0.12833,
    "h": 270.4
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#202D78
secondary
#AB9D48
accent
#CA47E1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #202D78

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

Preview Lab → · Contrast checker → · Palette generator →

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