#202A79#202A79

#202A79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.134 H 271.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#202A79
RGBrgb(32, 42, 121)
HSLhsl(233, 58%, 30%)
HSVhsv(233, 74%, 47%)
CMYKcmyk(73.6%, 65.3%, 0%, 52.5%)
CIE-LABlab(21.37, 24.68, -46.29)
CIE-LCHlch(21.37, 52.46, 298.07°)
OKLaboklab(33.2% 0.0033 -0.1337)
OKLCHoklch(33.2% 0.134 271.4)
XYZxyz(4.8736, 3.3430, 18.4739)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A79 #796F20
analogous
#205779 #202A79 #422079
triadic
#202A79 #79202A #2A7920
tetradic
#202A79 #792057 #796F20 #207942
square
#202A79 #792057 #796F20 #207942
split-complementary
#202A79 #794220 #577920
monochromatic
#060818 #131949 #202A79 #2D3BA9 #4555CE

Accessibility & contrast

On white

12.59
#202A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A79
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A79#FFFFFF#000000##FFFFFF
##202A791.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202a79;
/* rgb */ color: rgb(32, 42, 121);
/* oklch */ color: oklch(33.2% 0.134 271.4);
Tailwind
colors: {
  custom: {
    50: '#6963a0',
    500: '#202a79',
    950: '#000000',
  },
}
SCSS
$custom: #202a79;
$custom-light: #6963a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202a79",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 233.258,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.33196,
    "c": 0.13371,
    "h": 271.4
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#202A79
secondary
#ACA149
accent
#D046E1
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202A79

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

Preview Lab → · Contrast checker → · Palette generator →

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