#2216A1#2216A1

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

Color values

HEX#2216A1
RGBrgb(34, 22, 161)
HSLhsl(245, 76%, 36%)
HSVhsv(245, 86%, 63%)
CMYKcmyk(78.9%, 86.3%, 0%, 36.9%)
CIE-LABlab(21.89, 49.95, -70.34)
CIE-LCHlch(21.89, 86.27, 305.38°)
OKLaboklab(34.9% 0.0075 -0.2034)
OKLCHoklch(34.9% 0.204 272.1)
XYZxyz(7.3775, 3.4863, 33.9954)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2216A1 #95A116
analogous
#164FA1 #2216A1 #6716A1
triadic
#2216A1 #A12216 #16A122
tetradic
#2216A1 #A1164F #95A116 #16A167
square
#2216A1 #A1164F #95A116 #16A167
split-complementary
#2216A1 #A16716 #4FA116
monochromatic
#0B0735 #170F6B #2216A1 #2D1DD7 #584BE6

Accessibility & contrast

On white

12.37
#2216A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2216A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2216A1
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2216A1#FFFFFF#000000##FFFFFF
##2216A11.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.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: #2216a1;
/* rgb */ color: rgb(34, 22, 161);
/* oklch */ color: oklch(34.9% 0.204 272.1);
Tailwind
colors: {
  custom: {
    50: '#7659be',
    500: '#2216a1',
    950: '#000000',
  },
}
SCSS
$custom: #2216a1;
$custom-light: #7659be;
$custom-dark: #000000;
JSON
{
  "hex": "#2216a1",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 245.18,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.349,
    "c": 0.20359,
    "h": 272.1
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#2216A1
secondary
#BDC84B
accent
#F335E2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2216A1

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

Preview Lab → · Contrast checker → · Palette generator →

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