#201572#201572

#201572 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.148 H 277.1°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#201572
RGBrgb(32, 21, 114)
HSLhsl(247, 69%, 26%)
HSVhsv(247, 82%, 45%)
CMYKcmyk(71.9%, 81.6%, 0%, 55.3%)
CIE-LABlab(15.79, 35.44, -50.97)
CIE-LCHlch(15.79, 62.08, 304.81°)
OKLaboklab(28.97% 0.0182 -0.1473)
OKLCHoklch(28.97% 0.148 277.1)
XYZxyz(3.9001, 2.0580, 16.1080)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201572 #677215
analogous
#153972 #201572 #4F1572
triadic
#201572 #722015 #157220
tetradic
#201572 #721539 #677215 #15724F
square
#201572 #721539 #677215 #15724F
split-complementary
#201572 #724F15 #397215
monochromatic
#07051A #110B3E #201572 #2F1FA6 #3E2AD8

Accessibility & contrast

On white

14.88
#201572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#201572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201572
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201572#FFFFFF#000000##FFFFFF
##2015721.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201572;
/* rgb */ color: rgb(32, 21, 114);
/* oklch */ color: oklch(29.0% 0.148 277.1);
Tailwind
colors: {
  custom: {
    50: '#69559c',
    500: '#201572',
    950: '#000000',
  },
}
SCSS
$custom: #201572;
$custom-light: #69559c;
$custom-dark: #000000;
JSON
{
  "hex": "#201572",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 247.097,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28967,
    "c": 0.14842,
    "h": 277.1
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#201572
secondary
#9BA83B
accent
#EC3CD7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201572

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

Preview Lab → · Contrast checker → · Palette generator →

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