#202072#202072

#202072 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.136 H 274.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#202072
RGBrgb(32, 32, 114)
HSLhsl(240, 56%, 29%)
HSVhsv(240, 72%, 45%)
CMYKcmyk(71.9%, 71.9%, 0%, 55.3%)
CIE-LABlab(18.16, 28.78, -47.05)
CIE-LCHlch(18.16, 55.16, 301.46°)
OKLaboklab(30.65% 0.0114 -0.1359)
OKLCHoklch(30.65% 0.136 274.8)
XYZxyz(4.1484, 2.5546, 16.1908)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202072 #727220
analogous
#204972 #202072 #492072
triadic
#202072 #722020 #207220
tetradic
#202072 #722049 #727220 #207249
square
#202072 #722049 #727220 #207249
split-complementary
#202072 #724920 #497220
monochromatic
#070718 #131342 #202072 #2D2DA2 #4242CA

Accessibility & contrast

On white

13.90
#202072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#202072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202072
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202072#FFFFFF#000000##FFFFFF
##2020721.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #202072;
/* rgb */ color: rgb(32, 32, 114);
/* oklch */ color: oklch(30.7% 0.136 274.8);
Tailwind
colors: {
  custom: {
    50: '#685c9b',
    500: '#202072',
    950: '#000000',
  },
}
SCSS
$custom: #202072;
$custom-light: #685c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#202072",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 240,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30654,
    "c": 0.13643,
    "h": 274.8
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#202072
secondary
#A6A648
accent
#DF48DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202072

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

Preview Lab → · Contrast checker → · Palette generator →

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