#202A71#202A71

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

Color values

HEX#202A71
RGBrgb(32, 42, 113)
HSLhsl(233, 56%, 28%)
HSVhsv(233, 72%, 44%)
CMYKcmyk(71.7%, 62.8%, 0%, 55.7%)
CIE-LABlab(20.65, 21.59, -42.34)
CIE-LCHlch(20.65, 47.52, 297.02°)
OKLaboklab(32.45% 0.0035 -0.1221)
OKLCHoklch(32.45% 0.122 271.6)
XYZxyz(4.4033, 3.1548, 15.9965)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A71 #716720
analogous
#205271 #202A71 #3E2071
triadic
#202A71 #71202A #2A7120
tetradic
#202A71 #712052 #716720 #20713E
square
#202A71 #712052 #716720 #20713E
split-complementary
#202A71 #713E20 #527120
monochromatic
#070918 #121841 #202A71 #2E3CA1 #4253C9

Accessibility & contrast

On white

12.88
#202A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A71
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A71#FFFFFF#000000##FFFFFF
##202A711.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202a71;
/* rgb */ color: rgb(32, 42, 113);
/* oklch */ color: oklch(32.4% 0.122 271.6);
Tailwind
colors: {
  custom: {
    50: '#67639a',
    500: '#202a71',
    950: '#000000',
  },
}
SCSS
$custom: #202a71;
$custom-light: #67639a;
$custom-dark: #000000;
JSON
{
  "hex": "#202a71",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 232.593,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32446,
    "c": 0.12211,
    "h": 271.6
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#202A71
secondary
#A59948
accent
#CD49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202A71

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

Preview Lab → · Contrast checker → · Palette generator →

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