#201971#201971

#201971 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.143 H 276.5°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#201971
RGBrgb(32, 25, 113)
HSLhsl(245, 64%, 27%)
HSVhsv(245, 78%, 44%)
CMYKcmyk(71.7%, 77.9%, 0%, 55.7%)
CIE-LABlab(16.48, 32.82, -49.19)
CIE-LCHlch(16.48, 59.13, 303.71°)
OKLaboklab(29.42% 0.0162 -0.1421)
OKLCHoklch(29.42% 0.143 276.5)
XYZxyz(3.9230, 2.1942, 15.8364)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201971 #6A7119
analogous
#193E71 #201971 #4C1971
triadic
#201971 #712019 #197120
tetradic
#201971 #71193E #6A7119 #19714C
square
#201971 #71193E #6A7119 #19714C
split-complementary
#201971 #714C19 #3E7119
monochromatic
#070619 #120E3F #201971 #2E24A3 #3F33D2

Accessibility & contrast

On white

14.59
#201971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#201971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201971
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201971#FFFFFF#000000##FFFFFF
##2019711.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201971;
/* rgb */ color: rgb(32, 25, 113);
/* oklch */ color: oklch(29.4% 0.143 276.5);
Tailwind
colors: {
  custom: {
    50: '#69579b',
    500: '#201971',
    950: '#000000',
  },
}
SCSS
$custom: #201971;
$custom-light: #69579b;
$custom-dark: #000000;
JSON
{
  "hex": "#201971",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 244.773,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29416,
    "c": 0.14307,
    "h": 276.5
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#201971
secondary
#9EA640
accent
#E741DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201971

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

Preview Lab → · Contrast checker → · Palette generator →

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