#202D88#202D88

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

Color values

HEX#202D88
RGBrgb(32, 45, 136)
HSLhsl(233, 62%, 33%)
HSVhsv(233, 76%, 53%)
CMYKcmyk(76.5%, 66.9%, 0%, 46.7%)
CIE-LABlab(23.54, 28.39, -52.20)
CIE-LCHlch(23.54, 59.42, 298.54°)
OKLaboklab(35.22% 0.0003 -0.1509)
OKLCHoklch(35.22% 0.151 270.1)
XYZxyz(5.9765, 3.9608, 23.7373)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D88 #887B20
analogous
#206188 #202D88 #472088
triadic
#202D88 #88202D #2D8820
tetradic
#202D88 #882061 #887B20 #208847
square
#202D88 #882061 #887B20 #208847
split-complementary
#202D88 #884720 #618820
monochromatic
#090C25 #141D56 #202D88 #2C3DBA #4D5ED5

Accessibility & contrast

On white

11.72
#202D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#202D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D88
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D88#FFFFFF#000000##FFFFFF
##202D881.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202d88;
/* rgb */ color: rgb(32, 45, 136);
/* oklch */ color: oklch(35.2% 0.151 270.1);
Tailwind
colors: {
  custom: {
    50: '#6d66ac',
    500: '#202d88',
    950: '#000000',
  },
}
SCSS
$custom: #202d88;
$custom-light: #6d66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202d88",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 232.5,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35221,
    "c": 0.15094,
    "h": 270.1
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#202D88
secondary
#B8AB4C
accent
#D143E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #202D88

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

Preview Lab → · Contrast checker → · Palette generator →

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