#202D8A#202D8A

#202D8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.154 H 270.1°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#202D8A
RGBrgb(32, 45, 138)
HSLhsl(233, 62%, 33%)
HSVhsv(233, 77%, 54%)
CMYKcmyk(76.8%, 67.4%, 0%, 45.9%)
CIE-LABlab(23.73, 29.15, -53.13)
CIE-LCHlch(23.73, 60.60, 298.75°)
OKLaboklab(35.42% 0.0002 -0.1537)
OKLCHoklch(35.42% 0.154 270.1)
XYZxyz(6.1199, 4.0182, 24.4929)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D8A #8A7D20
analogous
#20628A #202D8A #48208A
triadic
#202D8A #8A202D #2D8A20
tetradic
#202D8A #8A2062 #8A7D20 #208A48
square
#202D8A #8A2062 #8A7D20 #208A48
split-complementary
#202D8A #8A4820 #628A20
monochromatic
#090D27 #141D58 #202D8A #2C3DBC #4E5FD6

Accessibility & contrast

On white

11.64
#202D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#202D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D8A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D8A#FFFFFF#000000##FFFFFF
##202D8A1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202d8a;
/* rgb */ color: rgb(32, 45, 138);
/* oklch */ color: oklch(35.4% 0.154 270.1);
Tailwind
colors: {
  custom: {
    50: '#6d66ad',
    500: '#202d8a',
    950: '#000000',
  },
}
SCSS
$custom: #202d8a;
$custom-light: #6d66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#202d8a",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 232.642,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.15368,
    "h": 270.1
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#202D8A
secondary
#B9AC4D
accent
#D142E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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