#202972#202972

#202972 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.125 H 272.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#202972
RGBrgb(32, 41, 114)
HSLhsl(233, 56%, 29%)
HSVhsv(233, 72%, 45%)
CMYKcmyk(71.9%, 64%, 0%, 55.3%)
CIE-LABlab(20.47, 22.67, -43.28)
CIE-LCHlch(20.47, 48.86, 297.65°)
OKLaboklab(32.34% 0.0043 -0.1248)
OKLCHoklch(32.34% 0.125 272)
XYZxyz(4.4248, 3.1074, 16.2829)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202972 #726920
analogous
#205272 #202972 #402072
triadic
#202972 #722029 #297220
tetradic
#202972 #722052 #726920 #207240
square
#202972 #722052 #726920 #207240
split-complementary
#202972 #724020 #527220
monochromatic
#070918 #131842 #202972 #2D3AA2 #4251CA

Accessibility & contrast

On white

12.95
#202972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202972
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202972#FFFFFF#000000##FFFFFF
##2029721.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202972;
/* rgb */ color: rgb(32, 41, 114);
/* oklch */ color: oklch(32.3% 0.125 272.0);
Tailwind
colors: {
  custom: {
    50: '#67629b',
    500: '#202972',
    950: '#000000',
  },
}
SCSS
$custom: #202972;
$custom-light: #67629b;
$custom-dark: #000000;
JSON
{
  "hex": "#202972",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 233.415,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32337,
    "c": 0.12492,
    "h": 272
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#202972
secondary
#A69B48
accent
#CF48DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202972

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

Preview Lab → · Contrast checker → · Palette generator →

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