#202872#202872

#202872 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.126 H 272.4°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#202872
RGBrgb(32, 40, 114)
HSLhsl(234, 56%, 29%)
HSVhsv(234, 72%, 45%)
CMYKcmyk(71.9%, 64.9%, 0%, 55.3%)
CIE-LABlab(20.20, 23.37, -43.72)
CIE-LCHlch(20.20, 49.57, 298.13°)
OKLaboklab(32.14% 0.0052 -0.1261)
OKLCHoklch(32.14% 0.126 272.4)
XYZxyz(4.3907, 3.0391, 16.2715)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202872 #726A20
analogous
#205172 #202872 #412072
triadic
#202872 #722028 #287220
tetradic
#202872 #722051 #726A20 #207241
square
#202872 #722051 #726A20 #207241
split-complementary
#202872 #724120 #517220
monochromatic
#070818 #131742 #202872 #2D39A2 #4250CA

Accessibility & contrast

On white

13.06
#202872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#202872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202872
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202872#FFFFFF#000000##FFFFFF
##2028721.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202872;
/* rgb */ color: rgb(32, 40, 114);
/* oklch */ color: oklch(32.1% 0.126 272.4);
Tailwind
colors: {
  custom: {
    50: '#68629b',
    500: '#202872',
    950: '#000000',
  },
}
SCSS
$custom: #202872;
$custom-light: #68629b;
$custom-dark: #000000;
JSON
{
  "hex": "#202872",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 234.146,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32138,
    "c": 0.12625,
    "h": 272.4
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#202872
secondary
#A69D48
accent
#D148DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202872

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

Preview Lab → · Contrast checker → · Palette generator →

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