#202D79#202D79

#202D79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.130 H 270.4°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#202D79
RGBrgb(32, 45, 121)
HSLhsl(231, 58%, 30%)
HSVhsv(231, 74%, 47%)
CMYKcmyk(73.6%, 62.8%, 0%, 52.5%)
CIE-LABlab(22.17, 22.61, -44.98)
CIE-LCHlch(22.17, 50.34, 296.69°)
OKLaboklab(33.79% 0.0009 -0.1298)
OKLCHoklch(33.79% 0.13 270.4)
XYZxyz(4.9841, 3.5638, 18.5107)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D79 #796C20
analogous
#205979 #202D79 #402079
triadic
#202D79 #79202D #2D7920
tetradic
#202D79 #792059 #796C20 #207940
square
#202D79 #792059 #796C20 #207940
split-complementary
#202D79 #794020 #597920
monochromatic
#060918 #131B49 #202D79 #2D3FA9 #4559CE

Accessibility & contrast

On white

12.26
#202D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202D79
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D79#FFFFFF#000000##FFFFFF
##202D791.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202d79;
/* rgb */ color: rgb(32, 45, 121);
/* oklch */ color: oklch(33.8% 0.130 270.4);
Tailwind
colors: {
  custom: {
    50: '#6965a0',
    500: '#202d79',
    950: '#000000',
  },
}
SCSS
$custom: #202d79;
$custom-light: #6965a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202d79",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 231.236,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.12978,
    "h": 270.4
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#202D79
secondary
#AC9E49
accent
#CB46E1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #202D79

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

Preview Lab → · Contrast checker → · Palette generator →

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