#202B78#202B78

#202B78 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.131 H 271.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#202B78
RGBrgb(32, 43, 120)
HSLhsl(233, 58%, 30%)
HSVhsv(233, 73%, 47%)
CMYKcmyk(73.3%, 64.2%, 0%, 52.9%)
CIE-LABlab(21.54, 23.61, -45.37)
CIE-LCHlch(21.54, 51.14, 297.49°)
OKLaboklab(33.3% 0.0025 -0.1309)
OKLCHoklch(33.3% 0.131 271.1)
XYZxyz(4.8486, 3.3904, 18.1646)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B78 #786D20
analogous
#205778 #202B78 #412078
triadic
#202B78 #78202B #2B7820
tetradic
#202B78 #782057 #786D20 #207841
square
#202B78 #782057 #786D20 #207841
split-complementary
#202B78 #784120 #577820
monochromatic
#060918 #131A48 #202B78 #2D3CA8 #4556CD

Accessibility & contrast

On white

12.51
#202B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#202B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B78
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B78#FFFFFF#000000##FFFFFF
##202B781.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202b78;
/* rgb */ color: rgb(32, 43, 120);
/* oklch */ color: oklch(33.3% 0.131 271.1);
Tailwind
colors: {
  custom: {
    50: '#6964a0',
    500: '#202b78',
    950: '#000000',
  },
}
SCSS
$custom: #202b78;
$custom-light: #6964a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202b78",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 232.5,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33297,
    "c": 0.13097,
    "h": 271.1
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#202B78
secondary
#AB9F48
accent
#CE47E1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #202B78

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

Preview Lab → · Contrast checker → · Palette generator →

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