#201180#201180

#201180 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.169 H 275.3°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#201180
RGBrgb(32, 17, 128)
HSLhsl(248, 77%, 28%)
HSVhsv(248, 87%, 50%)
CMYKcmyk(75%, 86.7%, 0%, 49.8%)
CIE-LABlab(16.83, 41.92, -58.23)
CIE-LCHlch(16.83, 71.75, 305.75°)
OKLaboklab(30.18% 0.0157 -0.1683)
OKLCHoklch(30.18% 0.169 275.3)
XYZxyz(4.6911, 2.2660, 20.6080)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201180 #718011
analogous
#113980 #201180 #571180
triadic
#201180 #802011 #118020
tetradic
#201180 #801139 #718011 #118057
square
#201180 #801139 #718011 #118057
split-complementary
#201180 #805711 #398011
monochromatic
#07041B #120A4A #201180 #2E18B6 #4229E3

Accessibility & contrast

On white

14.45
#201180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#201180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201180
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201180#FFFFFF#000000##FFFFFF
##2011801.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201180;
/* rgb */ color: rgb(32, 17, 128);
/* oklch */ color: oklch(30.2% 0.169 275.3);
Tailwind
colors: {
  custom: {
    50: '#6d54a6',
    500: '#201180',
    950: '#000000',
  },
}
SCSS
$custom: #201180;
$custom-light: #6d54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#201180",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 248.108,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30184,
    "c": 0.16905,
    "h": 275.3
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#201180
secondary
#A5B637
accent
#F335D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201180

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

Preview Lab → · Contrast checker → · Palette generator →

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