#201972#201972

#201972 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.144 H 276.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#201972
RGBrgb(32, 25, 114)
HSLhsl(245, 64%, 27%)
HSVhsv(245, 78%, 45%)
CMYKcmyk(71.9%, 78.1%, 0%, 55.3%)
CIE-LABlab(16.59, 33.16, -49.65)
CIE-LCHlch(16.59, 59.71, 303.74°)
OKLaboklab(29.53% 0.016 -0.1435)
OKLCHoklch(29.53% 0.144 276.4)
XYZxyz(3.9796, 2.2169, 16.1345)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201972 #6B7219
analogous
#193F72 #201972 #4D1972
triadic
#201972 #722019 #197220
tetradic
#201972 #72193F #6B7219 #19724D
square
#201972 #72193F #6B7219 #19724D
split-complementary
#201972 #724D19 #3F7219
monochromatic
#070619 #120E40 #201972 #2E24A4 #4033D2

Accessibility & contrast

On white

14.55
#201972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201972
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201972#FFFFFF#000000##FFFFFF
##2019721.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201972;
/* rgb */ color: rgb(32, 25, 114);
/* oklch */ color: oklch(29.5% 0.144 276.4);
Tailwind
colors: {
  custom: {
    50: '#69579c',
    500: '#201972',
    950: '#000000',
  },
}
SCSS
$custom: #201972;
$custom-light: #69579c;
$custom-dark: #000000;
JSON
{
  "hex": "#201972",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 244.719,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29528,
    "c": 0.14439,
    "h": 276.4
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201972

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

Preview Lab → · Contrast checker → · Palette generator →

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