#202D8B#202D8B

#202D8B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.155 H 270.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#202D8B
RGBrgb(32, 45, 139)
HSLhsl(233, 63%, 34%)
HSVhsv(233, 77%, 55%)
CMYKcmyk(77%, 67.6%, 0%, 45.5%)
CIE-LABlab(23.83, 29.53, -53.60)
CIE-LCHlch(23.83, 61.19, 298.85°)
OKLaboklab(35.52% 0.0001 -0.155)
OKLCHoklch(35.52% 0.155 270)
XYZxyz(6.1927, 4.0473, 24.8759)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D8B #8B7E20
analogous
#20628B #202D8B #48208B
triadic
#202D8B #8B202D #2D8B20
tetradic
#202D8B #8B2062 #8B7E20 #208B48
square
#202D8B #8B2062 #8B7E20 #208B48
split-complementary
#202D8B #8B4820 #628B20
monochromatic
#090D28 #151D59 #202D8B #2B3DBD #4F5FD6

Accessibility & contrast

On white

11.60
#202D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#202D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D8B
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D8B#FFFFFF#000000##FFFFFF
##202D8B1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202d8b;
/* rgb */ color: rgb(32, 45, 139);
/* oklch */ color: oklch(35.5% 0.155 270.0);
Tailwind
colors: {
  custom: {
    50: '#6d66ae',
    500: '#202d8b',
    950: '#000000',
  },
}
SCSS
$custom: #202d8b;
$custom-light: #6d66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#202d8b",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 232.71,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35517,
    "c": 0.15504,
    "h": 270
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#202D8B
secondary
#BAAC4D
accent
#D242E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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