#201580#201580

#201580 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.166 H 274.9°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#201580
RGBrgb(32, 21, 128)
HSLhsl(246, 72%, 29%)
HSVhsv(246, 84%, 50%)
CMYKcmyk(75%, 83.6%, 0%, 49.8%)
CIE-LABlab(17.47, 40.03, -57.17)
CIE-LCHlch(17.47, 69.79, 305.00°)
OKLaboklab(30.63% 0.0143 -0.1653)
OKLCHoklch(30.63% 0.166 274.9)
XYZxyz(4.7588, 2.4014, 20.6306)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201580 #758015
analogous
#154080 #201580 #561580
triadic
#201580 #802015 #158020
tetradic
#201580 #801540 #758015 #158056
square
#201580 #801540 #758015 #158056
split-complementary
#201580 #805615 #408015
monochromatic
#07041A #130C4B #201580 #2D1EB5 #4432DD

Accessibility & contrast

On white

14.19
#201580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#201580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201580
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201580#FFFFFF#000000##FFFFFF
##2015801.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #201580;
/* rgb */ color: rgb(32, 21, 128);
/* oklch */ color: oklch(30.6% 0.166 274.9);
Tailwind
colors: {
  custom: {
    50: '#6d56a6',
    500: '#201580',
    950: '#000000',
  },
}
SCSS
$custom: #201580;
$custom-light: #6d56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#201580",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 246.168,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30626,
    "c": 0.16593,
    "h": 274.9
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#201580
secondary
#A8B53C
accent
#EF39DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #201580

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

Preview Lab → · Contrast checker → · Palette generator →

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