#202876#202876

#202876 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.132 H 272.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#202876
RGBrgb(32, 40, 118)
HSLhsl(234, 57%, 29%)
HSVhsv(234, 73%, 46%)
CMYKcmyk(72.9%, 66.1%, 0%, 53.7%)
CIE-LABlab(20.57, 24.91, -45.69)
CIE-LCHlch(20.57, 52.04, 298.60°)
OKLaboklab(32.52% 0.005 -0.1319)
OKLCHoklch(32.52% 0.132 272.2)
XYZxyz(4.6234, 3.1322, 17.4970)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202876 #766E20
analogous
#205376 #202876 #432076
triadic
#202876 #762028 #287620
tetradic
#202876 #762053 #766E20 #207643
square
#202876 #762053 #766E20 #207643
split-complementary
#202876 #764320 #537620
monochromatic
#070818 #131846 #202876 #2D38A6 #4451CC

Accessibility & contrast

On white

12.91
#202876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202876
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202876#FFFFFF#000000##FFFFFF
##2028761.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202876;
/* rgb */ color: rgb(32, 40, 118);
/* oklch */ color: oklch(32.5% 0.132 272.2);
Tailwind
colors: {
  custom: {
    50: '#69629e',
    500: '#202876',
    950: '#000000',
  },
}
SCSS
$custom: #202876;
$custom-light: #69629e;
$custom-dark: #000000;
JSON
{
  "hex": "#202876",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 234.419,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32521,
    "c": 0.13201,
    "h": 272.2
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#202876
secondary
#A9A048
accent
#D247E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202876

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

Preview Lab → · Contrast checker → · Palette generator →

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