#202D89#202D89

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

Color values

HEX#202D89
RGBrgb(32, 45, 137)
HSLhsl(233, 62%, 33%)
HSVhsv(233, 77%, 54%)
CMYKcmyk(76.6%, 67.2%, 0%, 46.3%)
CIE-LABlab(23.64, 28.77, -52.66)
CIE-LCHlch(23.64, 60.01, 298.65°)
OKLaboklab(35.32% 0.0003 -0.1523)
OKLCHoklch(35.32% 0.152 270.1)
XYZxyz(6.0479, 3.9893, 24.1133)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D89 #897C20
analogous
#206189 #202D89 #472089
triadic
#202D89 #89202D #2D8920
tetradic
#202D89 #892061 #897C20 #208947
square
#202D89 #892061 #897C20 #208947
split-complementary
#202D89 #894720 #618920
monochromatic
#090C26 #141D57 #202D89 #2C3DBB #4E5FD6

Accessibility & contrast

On white

11.68
#202D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#202D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D89
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D89#FFFFFF#000000##FFFFFF
##202D891.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202d89;
/* rgb */ color: rgb(32, 45, 137);
/* oklch */ color: oklch(35.3% 0.152 270.1);
Tailwind
colors: {
  custom: {
    50: '#6d66ac',
    500: '#202d89',
    950: '#000000',
  },
}
SCSS
$custom: #202d89;
$custom-light: #6d66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202d89",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 232.571,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35319,
    "c": 0.15231,
    "h": 270.1
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#202D89
secondary
#B9AB4C
accent
#D143E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202D89

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

Preview Lab → · Contrast checker → · Palette generator →

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