#202D8E#202D8E

#202D8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.159 H 270.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#202D8E
RGBrgb(32, 45, 142)
HSLhsl(233, 63%, 34%)
HSVhsv(233, 77%, 56%)
CMYKcmyk(77.5%, 68.3%, 0%, 44.3%)
CIE-LABlab(24.12, 30.66, -54.99)
CIE-LCHlch(24.12, 62.96, 299.14°)
OKLaboklab(35.82% -0.0001 -0.1591)
OKLCHoklch(35.82% 0.159 270)
XYZxyz(6.4149, 4.1361, 26.0462)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D8E #8E8120
analogous
#20648E #202D8E #4A208E
triadic
#202D8E #8E202D #2D8E20
tetradic
#202D8E #8E2064 #8E8120 #208E4A
square
#202D8E #8E2064 #8E8120 #208E4A
split-complementary
#202D8E #8E4A20 #648E20
monochromatic
#090D2A #151D5C #202D8E #2B3DC0 #5161D8

Accessibility & contrast

On white

11.49
#202D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#202D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D8E
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D8E#FFFFFF#000000##FFFFFF
##202D8E1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202d8e;
/* rgb */ color: rgb(32, 45, 142);
/* oklch */ color: oklch(35.8% 0.159 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e66b0',
    500: '#202d8e',
    950: '#000000',
  },
}
SCSS
$custom: #202d8e;
$custom-light: #6e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#202d8e",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 232.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35817,
    "c": 0.1591,
    "h": 270
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#202D8E
secondary
#BBAE4F
accent
#D342E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #202D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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