#202B79#202B79

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

Color values

HEX#202B79
RGBrgb(32, 43, 121)
HSLhsl(233, 58%, 30%)
HSVhsv(233, 74%, 47%)
CMYKcmyk(73.6%, 64.5%, 0%, 52.5%)
CIE-LABlab(21.63, 24.00, -45.86)
CIE-LCHlch(21.63, 51.76, 297.62°)
OKLaboklab(33.39% 0.0025 -0.1324)
OKLCHoklch(33.39% 0.132 271.1)
XYZxyz(4.9096, 3.4148, 18.4858)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B79 #796E20
analogous
#205879 #202B79 #412079
triadic
#202B79 #79202B #2B7920
tetradic
#202B79 #792058 #796E20 #207941
square
#202B79 #792058 #796E20 #207941
split-complementary
#202B79 #794120 #587920
monochromatic
#060918 #131A49 #202B79 #2D3CA9 #4556CE

Accessibility & contrast

On white

12.48
#202B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202B79
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B79#FFFFFF#000000##FFFFFF
##202B791.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202b79;
/* rgb */ color: rgb(32, 43, 121);
/* oklch */ color: oklch(33.4% 0.132 271.1);
Tailwind
colors: {
  custom: {
    50: '#6964a0',
    500: '#202b79',
    950: '#000000',
  },
}
SCSS
$custom: #202b79;
$custom-light: #6964a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202b79",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 232.584,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.33392,
    "c": 0.13241,
    "h": 271.1
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#202B79
secondary
#ACA049
accent
#CE46E1
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202B79

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

Preview Lab → · Contrast checker → · Palette generator →

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