#201779#201779

#201779 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.155 H 275.7°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#201779
RGBrgb(32, 23, 121)
HSLhsl(246, 68%, 28%)
HSVhsv(246, 81%, 47%)
CMYKcmyk(73.6%, 81%, 0%, 52.5%)
CIE-LABlab(16.99, 36.69, -53.50)
CIE-LCHlch(16.99, 64.87, 304.44°)
OKLaboklab(30.05% 0.0153 -0.1547)
OKLCHoklch(30.05% 0.155 275.7)
XYZxyz(4.3521, 2.2999, 18.3000)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201779 #707917
analogous
#173F79 #201779 #511779
triadic
#201779 #792017 #177920
tetradic
#201779 #79173F #707917 #177951
square
#201779 #79173F #707917 #177951
split-complementary
#201779 #795117 #3F7917
monochromatic
#07051A #120D46 #201779 #2E21AC #4232D8

Accessibility & contrast

On white

14.38
#201779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#201779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201779
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201779#FFFFFF#000000##FFFFFF
##2017791.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201779;
/* rgb */ color: rgb(32, 23, 121);
/* oklch */ color: oklch(30.0% 0.155 275.7);
Tailwind
colors: {
  custom: {
    50: '#6b57a1',
    500: '#201779',
    950: '#000000',
  },
}
SCSS
$custom: #201779;
$custom-light: #6b57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#201779",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 245.51,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30048,
    "c": 0.15543,
    "h": 275.7
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#201779
secondary
#A4AE3E
accent
#EB3DDB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201779

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

Preview Lab → · Contrast checker → · Palette generator →

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