#2216B3#2216B3

#2216B3 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.1% C 0.224 H 270.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2216B3
RGBrgb(34, 22, 179)
HSLhsl(245, 78%, 39%)
HSVhsv(245, 88%, 70%)
CMYKcmyk(81%, 87.7%, 0%, 29.8%)
CIE-LABlab(24.22, 55.22, -77.35)
CIE-LCHlch(24.22, 95.04, 305.52°)
OKLaboklab(37.14% 0.0027 -0.2237)
OKLCHoklch(37.14% 0.224 270.7)
XYZxyz(9.0805, 4.1675, 42.9649)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2216B3 #A7B316
analogous
#1659B3 #2216B3 #7116B3
triadic
#2216B3 #B32216 #16B322
tetradic
#2216B3 #B31659 #A7B316 #16B371
square
#2216B3 #B31659 #A7B316 #16B371
split-complementary
#2216B3 #B37116 #59B316
monochromatic
#0D0946 #180F7C #2216B3 #3122E4 #6459EB

Accessibility & contrast

On white

11.45
#2216B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2216B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2216B3
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2216B3#FFFFFF#000000##FFFFFF
##2216B31.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B7
Deuteranopia (green-blind)
#0031B1
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2216b3;
/* rgb */ color: rgb(34, 22, 179);
/* oklch */ color: oklch(37.1% 0.224 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a5bcb',
    500: '#2216b3',
    950: '#000000',
  },
}
SCSS
$custom: #2216b3;
$custom-light: #7a5bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2216b3",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 244.586,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.22373,
    "h": 270.7
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#2216B3
secondary
#C5CE57
accent
#F533E6
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #2216B3

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

Preview Lab → · Contrast checker → · Palette generator →

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