#202D8F#202D8F

#202D8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.160 H 269.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#202D8F
RGBrgb(32, 45, 143)
HSLhsl(233, 63%, 34%)
HSVhsv(233, 78%, 56%)
CMYKcmyk(77.6%, 68.5%, 0%, 43.9%)
CIE-LABlab(24.21, 31.03, -55.45)
CIE-LCHlch(24.21, 63.54, 299.23°)
OKLaboklab(35.92% -0.0002 -0.1604)
OKLCHoklch(35.92% 0.16 269.9)
XYZxyz(6.4903, 4.1663, 26.4434)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D8F #8F8220
analogous
#20658F #202D8F #4B208F
triadic
#202D8F #8F202D #2D8F20
tetradic
#202D8F #8F2065 #8F8220 #208F4B
square
#202D8F #8F2065 #8F8220 #208F4B
split-complementary
#202D8F #8F4B20 #658F20
monochromatic
#0A0E2B #151D5D #202D8F #2B3DC1 #5161D8

Accessibility & contrast

On white

11.45
#202D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202D8F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D8F#FFFFFF#000000##FFFFFF
##202D8F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202d8f;
/* rgb */ color: rgb(32, 45, 143);
/* oklch */ color: oklch(35.9% 0.160 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e66b1',
    500: '#202d8f',
    950: '#000000',
  },
}
SCSS
$custom: #202d8f;
$custom-light: #6e66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#202d8f",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 232.973,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35917,
    "c": 0.16045,
    "h": 269.9
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#202D8F
secondary
#BBAF4F
accent
#D341E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #202D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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