#202071#202071

#202071 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.135 H 274.9°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#202071
RGBrgb(32, 32, 113)
HSLhsl(240, 56%, 28%)
HSVhsv(240, 72%, 44%)
CMYKcmyk(71.7%, 71.7%, 0%, 55.7%)
CIE-LABlab(18.06, 28.42, -46.57)
CIE-LCHlch(18.06, 54.56, 301.39°)
OKLaboklab(30.55% 0.0115 -0.1345)
OKLCHoklch(30.55% 0.135 274.9)
XYZxyz(4.0918, 2.5320, 15.8927)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202071 #717120
analogous
#204871 #202071 #482071
triadic
#202071 #712020 #207120
tetradic
#202071 #712048 #717120 #207148
square
#202071 #712048 #717120 #207148
split-complementary
#202071 #714820 #487120
monochromatic
#070718 #121241 #202071 #2E2EA1 #4242C9

Accessibility & contrast

On white

13.94
#202071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202071
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202071#FFFFFF#000000##FFFFFF
##2020711.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #202071;
/* rgb */ color: rgb(32, 32, 113);
/* oklch */ color: oklch(30.6% 0.135 274.9);
Tailwind
colors: {
  custom: {
    50: '#685c9b',
    500: '#202071',
    950: '#000000',
  },
}
SCSS
$custom: #202071;
$custom-light: #685c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#202071",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 240,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3055,
    "c": 0.13504,
    "h": 274.9
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#202071
secondary
#A5A548
accent
#DF49DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202071

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

Preview Lab → · Contrast checker → · Palette generator →

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