#202D8D#202D8D

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

Color values

HEX#202D8D
RGBrgb(32, 45, 141)
HSLhsl(233, 63%, 34%)
HSVhsv(233, 77%, 55%)
CMYKcmyk(77.3%, 68.1%, 0%, 44.7%)
CIE-LABlab(24.02, 30.28, -54.53)
CIE-LCHlch(24.02, 62.37, 299.05°)
OKLaboklab(35.72% 0 -0.1577)
OKLCHoklch(35.72% 0.158 270)
XYZxyz(6.3401, 4.1062, 25.6526)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D8D #8D8020
analogous
#20648D #202D8D #4A208D
triadic
#202D8D #8D202D #2D8D20
tetradic
#202D8D #8D2064 #8D8020 #208D4A
square
#202D8D #8D2064 #8D8020 #208D4A
split-complementary
#202D8D #8D4A20 #648D20
monochromatic
#090D29 #151D5B #202D8D #2B3DBF #5060D7

Accessibility & contrast

On white

11.53
#202D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#202D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D8D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D8D#FFFFFF#000000##FFFFFF
##202D8D1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202d8d;
/* rgb */ color: rgb(32, 45, 141);
/* oklch */ color: oklch(35.7% 0.158 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e66af',
    500: '#202d8d',
    950: '#000000',
  },
}
SCSS
$custom: #202d8d;
$custom-light: #6e66af;
$custom-dark: #000000;
JSON
{
  "hex": "#202d8d",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 232.844,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35716,
    "c": 0.15775,
    "h": 270
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#202D8D
secondary
#BAAE4E
accent
#D242E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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