#201579#201579

#201579 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.157 H 275.9°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#201579
RGBrgb(32, 21, 121)
HSLhsl(247, 70%, 28%)
HSVhsv(247, 83%, 47%)
CMYKcmyk(73.6%, 82.6%, 0%, 52.5%)
CIE-LABlab(16.62, 37.75, -54.11)
CIE-LCHlch(16.62, 65.98, 304.91°)
OKLaboklab(29.79% 0.0163 -0.1564)
OKLCHoklch(29.79% 0.157 275.9)
XYZxyz(4.3139, 2.2235, 18.2873)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201579 #6E7915
analogous
#153C79 #201579 #521579
triadic
#201579 #792015 #157920
tetradic
#201579 #79153C #6E7915 #157952
square
#201579 #79153C #6E7915 #157952
split-complementary
#201579 #795215 #3C7915
monochromatic
#07051A #120C45 #201579 #2E1EAD #412EDB

Accessibility & contrast

On white

14.53
#201579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201579
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201579#FFFFFF#000000##FFFFFF
##2015791.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201579;
/* rgb */ color: rgb(32, 21, 121);
/* oklch */ color: oklch(29.8% 0.157 275.9);
Tailwind
colors: {
  custom: {
    50: '#6b55a1',
    500: '#201579',
    950: '#000000',
  },
}
SCSS
$custom: #201579;
$custom-light: #6b55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#201579",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 246.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.2979,
    "c": 0.15726,
    "h": 275.9
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#201579
secondary
#A2AF3B
accent
#ED3BDA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201579

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

Preview Lab → · Contrast checker → · Palette generator →

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