#202A72#202A72

#202A72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.124 H 271.6°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#202A72
RGBrgb(32, 42, 114)
HSLhsl(233, 56%, 29%)
HSVhsv(233, 72%, 45%)
CMYKcmyk(71.9%, 63.2%, 0%, 55.3%)
CIE-LABlab(20.74, 21.98, -42.84)
CIE-LCHlch(20.74, 48.14, 297.16°)
OKLaboklab(32.54% 0.0035 -0.1235)
OKLCHoklch(32.54% 0.124 271.6)
XYZxyz(4.4599, 3.1775, 16.2946)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A72 #726820
analogous
#205372 #202A72 #3F2072
triadic
#202A72 #72202A #2A7220
tetradic
#202A72 #722053 #726820 #20723F
square
#202A72 #722053 #726820 #20723F
split-complementary
#202A72 #723F20 #537220
monochromatic
#070918 #131842 #202A72 #2D3CA2 #4253CA

Accessibility & contrast

On white

12.84
#202A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A72
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A72#FFFFFF#000000##FFFFFF
##202A721.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202a72;
/* rgb */ color: rgb(32, 42, 114);
/* oklch */ color: oklch(32.5% 0.124 271.6);
Tailwind
colors: {
  custom: {
    50: '#67639b',
    500: '#202a72',
    950: '#000000',
  },
}
SCSS
$custom: #202a72;
$custom-light: #67639b;
$custom-dark: #000000;
JSON
{
  "hex": "#202a72",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 232.683,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.12358,
    "h": 271.6
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#202A72
secondary
#A69A48
accent
#CD48DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202A72

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

Preview Lab → · Contrast checker → · Palette generator →

#202A72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva