#202C91#202C91

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

Color values

HEX#202C91
RGBrgb(32, 44, 145)
HSLhsl(234, 64%, 35%)
HSVhsv(234, 78%, 57%)
CMYKcmyk(77.9%, 69.7%, 0%, 43.1%)
CIE-LABlab(24.17, 32.43, -56.76)
CIE-LCHlch(24.17, 65.37, 299.74°)
OKLaboklab(35.94% 0.0002 -0.1643)
OKLCHoklch(35.94% 0.164 270.1)
XYZxyz(6.6054, 4.1521, 27.2359)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C91 #918520
analogous
#206591 #202C91 #4C2091
triadic
#202C91 #91202C #2C9120
tetradic
#202C91 #912065 #918520 #20914C
square
#202C91 #912065 #918520 #20914C
split-complementary
#202C91 #914C20 #659120
monochromatic
#0A0E2D #151D5F #202C91 #2B3BC3 #5261D9

Accessibility & contrast

On white

11.47
#202C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202C91
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C91#FFFFFF#000000##FFFFFF
##202C911.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202c91;
/* rgb */ color: rgb(32, 44, 145);
/* oklch */ color: oklch(35.9% 0.164 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f65b2',
    500: '#202c91',
    950: '#000000',
  },
}
SCSS
$custom: #202c91;
$custom-light: #6f65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#202c91",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 233.628,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35944,
    "c": 0.16429,
    "h": 270.1
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#202C91
secondary
#BCB151
accent
#D541E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #202C91

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

Preview Lab → · Contrast checker → · Palette generator →

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