#201578#201578

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

Color values

HEX#201578
RGBrgb(32, 21, 120)
HSLhsl(247, 70%, 28%)
HSVhsv(247, 83%, 47%)
CMYKcmyk(73.3%, 82.5%, 0%, 52.9%)
CIE-LABlab(16.50, 37.43, -53.66)
CIE-LCHlch(16.50, 65.43, 304.89°)
OKLaboklab(29.67% 0.0166 -0.1551)
OKLCHoklch(29.67% 0.156 276.1)
XYZxyz(4.2529, 2.1991, 17.9660)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201578 #6D7815
analogous
#153B78 #201578 #521578
triadic
#201578 #782015 #157820
tetradic
#201578 #78153B #6D7815 #157852
square
#201578 #78153B #6D7815 #157852
split-complementary
#201578 #785215 #3B7815
monochromatic
#07051A #120C44 #201578 #2E1EAC #402DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##201578#FFFFFF#000000##FFFFFF
##2015781.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)
#002D7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201578;
/* rgb */ color: rgb(32, 21, 120);
/* oklch */ color: oklch(29.7% 0.156 276.1);
Tailwind
colors: {
  custom: {
    50: '#6b55a0',
    500: '#201578',
    950: '#000000',
  },
}
SCSS
$custom: #201578;
$custom-light: #6b55a0;
$custom-dark: #000000;
JSON
{
  "hex": "#201578",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 246.667,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29671,
    "c": 0.15601,
    "h": 276.1
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#201578
secondary
#A1AE3B
accent
#ED3BD9
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201578

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

Preview Lab → · Contrast checker → · Palette generator →

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