#202C79#202C79

#202C79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.131 H 270.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#202C79
RGBrgb(32, 44, 121)
HSLhsl(232, 58%, 30%)
HSVhsv(232, 74%, 47%)
CMYKcmyk(73.6%, 63.6%, 0%, 52.5%)
CIE-LABlab(21.90, 23.30, -45.42)
CIE-LCHlch(21.90, 51.05, 297.16°)
OKLaboklab(33.59% 0.0017 -0.1311)
OKLCHoklch(33.59% 0.131 270.7)
XYZxyz(4.9464, 3.4884, 18.4981)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C79 #796D20
analogous
#205979 #202C79 #402079
triadic
#202C79 #79202C #2C7920
tetradic
#202C79 #792059 #796D20 #207940
square
#202C79 #792059 #796D20 #207940
split-complementary
#202C79 #794020 #597920
monochromatic
#060918 #131A49 #202C79 #2D3EA9 #4558CE

Accessibility & contrast

On white

12.37
#202C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C79
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C79#FFFFFF#000000##FFFFFF
##202C791.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202c79;
/* rgb */ color: rgb(32, 44, 121);
/* oklch */ color: oklch(33.6% 0.131 270.7);
Tailwind
colors: {
  custom: {
    50: '#6965a0',
    500: '#202c79',
    950: '#000000',
  },
}
SCSS
$custom: #202c79;
$custom-light: #6965a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202c79",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 231.91,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.3359,
    "c": 0.1311,
    "h": 270.7
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#202C79
secondary
#AC9F49
accent
#CC46E1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #202C79

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

Preview Lab → · Contrast checker → · Palette generator →

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