#202971#202971

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

Color values

HEX#202971
RGBrgb(32, 41, 113)
HSLhsl(233, 56%, 28%)
HSVhsv(233, 72%, 44%)
CMYKcmyk(71.7%, 63.7%, 0%, 55.7%)
CIE-LABlab(20.38, 22.29, -42.78)
CIE-LCHlch(20.38, 48.24, 297.52°)
OKLaboklab(32.24% 0.0044 -0.1234)
OKLCHoklch(32.24% 0.123 272)
XYZxyz(4.3682, 3.0848, 15.9848)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202971 #716820
analogous
#205171 #202971 #3F2071
triadic
#202971 #712029 #297120
tetradic
#202971 #712051 #716820 #20713F
square
#202971 #712051 #716820 #20713F
split-complementary
#202971 #713F20 #517120
monochromatic
#070918 #121841 #202971 #2E3AA1 #4251C9

Accessibility & contrast

On white

12.99
#202971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202971
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202971#FFFFFF#000000##FFFFFF
##2029711.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202971;
/* rgb */ color: rgb(32, 41, 113);
/* oklch */ color: oklch(32.2% 0.123 272.0);
Tailwind
colors: {
  custom: {
    50: '#67629a',
    500: '#202971',
    950: '#000000',
  },
}
SCSS
$custom: #202971;
$custom-light: #67629a;
$custom-dark: #000000;
JSON
{
  "hex": "#202971",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 233.333,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32244,
    "c": 0.12346,
    "h": 272
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#202971
secondary
#A59A48
accent
#CE49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202971

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

Preview Lab → · Contrast checker → · Palette generator →

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