#202D7A#202D7A

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

Color values

HEX#202D7A
RGBrgb(32, 45, 122)
HSLhsl(231, 58%, 30%)
HSVhsv(231, 74%, 48%)
CMYKcmyk(73.8%, 63.1%, 0%, 52.2%)
CIE-LABlab(22.26, 23.00, -45.47)
CIE-LCHlch(22.26, 50.95, 296.83°)
OKLaboklab(33.88% 0.0009 -0.1312)
OKLCHoklch(33.88% 0.131 270.4)
XYZxyz(5.0457, 3.5885, 18.8353)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D7A #7A6D20
analogous
#205A7A #202D7A #40207A
triadic
#202D7A #7A202D #2D7A20
tetradic
#202D7A #7A205A #7A6D20 #207A40
square
#202D7A #7A205A #7A6D20 #207A40
split-complementary
#202D7A #7A4020 #5A7A20
monochromatic
#070919 #131B4A #202D7A #2D3FAA #465ACE

Accessibility & contrast

On white

12.22
#202D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#202D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D7A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D7A#FFFFFF#000000##FFFFFF
##202D7A1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202d7a;
/* rgb */ color: rgb(32, 45, 122);
/* oklch */ color: oklch(33.9% 0.131 270.4);
Tailwind
colors: {
  custom: {
    50: '#6965a1',
    500: '#202d7a',
    950: '#000000',
  },
}
SCSS
$custom: #202d7a;
$custom-light: #6965a1;
$custom-dark: #000000;
JSON
{
  "hex": "#202d7a",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 231.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33883,
    "c": 0.13123,
    "h": 270.4
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#202D7A
secondary
#AD9F49
accent
#CB46E2
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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