#2016A1#2016A1

#2016A1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.8% C 0.204 H 271.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2016A1
RGBrgb(32, 22, 161)
HSLhsl(244, 76%, 36%)
HSVhsv(244, 86%, 63%)
CMYKcmyk(80.1%, 86.3%, 0%, 36.9%)
CIE-LABlab(21.77, 49.84, -70.55)
CIE-LCHlch(21.77, 86.38, 305.24°)
OKLaboklab(34.79% 0.005 -0.2041)
OKLCHoklch(34.79% 0.204 271.4)
XYZxyz(7.3134, 3.4533, 33.9924)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2016A1 #97A116
analogous
#1651A1 #2016A1 #6616A1
triadic
#2016A1 #A12016 #16A120
tetradic
#2016A1 #A11651 #97A116 #16A166
square
#2016A1 #A11651 #97A116 #16A166
split-complementary
#2016A1 #A16616 #51A116
monochromatic
#0B0735 #150F6B #2016A1 #2B1DD7 #564BE6

Accessibility & contrast

On white

12.42
#2016A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2016A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2016A1
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2016A1#FFFFFF#000000##FFFFFF
##2016A11.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002D9F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2016a1;
/* rgb */ color: rgb(32, 22, 161);
/* oklch */ color: oklch(34.8% 0.204 271.4);
Tailwind
colors: {
  custom: {
    50: '#7559be',
    500: '#2016a1',
    950: '#000000',
  },
}
SCSS
$custom: #2016a1;
$custom-light: #7559be;
$custom-dark: #000000;
JSON
{
  "hex": "#2016a1",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 244.317,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34786,
    "c": 0.20413,
    "h": 271.4
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#2016A1
secondary
#BFC84B
accent
#F335E5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2016A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2016A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva