#2216A0#2216A0

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

Color values

HEX#2216A0
RGBrgb(34, 22, 160)
HSLhsl(245, 76%, 36%)
HSVhsv(245, 86%, 63%)
CMYKcmyk(78.8%, 86.3%, 0%, 37.3%)
CIE-LABlab(21.77, 49.64, -69.95)
CIE-LCHlch(21.77, 85.77, 305.37°)
OKLaboklab(34.78% 0.0077 -0.2023)
OKLCHoklch(34.78% 0.202 272.2)
XYZxyz(7.2896, 3.4512, 33.5328)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2216A0 #94A016
analogous
#164FA0 #2216A0 #6716A0
triadic
#2216A0 #A02216 #16A022
tetradic
#2216A0 #A0164F #94A016 #16A067
square
#2216A0 #A0164F #94A016 #16A067
split-complementary
#2216A0 #A06716 #4FA016
monochromatic
#0B0734 #170F6A #2216A0 #2D1DD6 #584AE6

Accessibility & contrast

On white

12.42
#2216A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2216A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2216A0
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2216A0#FFFFFF#000000##FFFFFF
##2216A01.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)
#003AA4
Deuteranopia (green-blind)
#002D9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2216a0;
/* rgb */ color: rgb(34, 22, 160);
/* oklch */ color: oklch(34.8% 0.202 272.2);
Tailwind
colors: {
  custom: {
    50: '#7659be',
    500: '#2216a0',
    950: '#000000',
  },
}
SCSS
$custom: #2216a0;
$custom-light: #7659be;
$custom-dark: #000000;
JSON
{
  "hex": "#2216a0",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 245.217,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34777,
    "c": 0.20245,
    "h": 272.2
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#2216A0
secondary
#BDC84A
accent
#F235E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2216A0

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

Preview Lab → · Contrast checker → · Palette generator →

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