#202976#202976

#202976 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.131 H 271.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#202976
RGBrgb(32, 41, 118)
HSLhsl(234, 57%, 29%)
HSVhsv(234, 73%, 46%)
CMYKcmyk(72.9%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.83, 24.22, -45.26)
CIE-LCHlch(20.83, 51.33, 298.15°)
OKLaboklab(32.71% 0.0042 -0.1306)
OKLCHoklch(32.71% 0.131 271.8)
XYZxyz(4.6575, 3.2005, 17.5083)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202976 #766D20
analogous
#205476 #202976 #422076
triadic
#202976 #762029 #297620
tetradic
#202976 #762054 #766D20 #207642
square
#202976 #762054 #766D20 #207642
split-complementary
#202976 #764220 #547620
monochromatic
#070818 #131846 #202976 #2D3AA6 #4452CC

Accessibility & contrast

On white

12.80
#202976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202976
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202976#FFFFFF#000000##FFFFFF
##2029761.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202976;
/* rgb */ color: rgb(32, 41, 118);
/* oklch */ color: oklch(32.7% 0.131 271.8);
Tailwind
colors: {
  custom: {
    50: '#68629e',
    500: '#202976',
    950: '#000000',
  },
}
SCSS
$custom: #202976;
$custom-light: #68629e;
$custom-dark: #000000;
JSON
{
  "hex": "#202976",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 233.721,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32715,
    "c": 0.13071,
    "h": 271.8
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#202976
secondary
#A99F48
accent
#D147E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202976

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

Preview Lab → · Contrast checker → · Palette generator →

#202976 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva