#22216B#22216B

#22216B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.125 H 276.5°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#22216B
RGBrgb(34, 33, 107)
HSLhsl(241, 53%, 27%)
HSVhsv(241, 69%, 42%)
CMYKcmyk(68.2%, 69.2%, 0%, 58%)
CIE-LABlab(17.87, 25.83, -42.99)
CIE-LCHlch(17.87, 50.15, 300.99°)
OKLaboklab(30.27% 0.0142 -0.124)
OKLCHoklch(30.27% 0.125 276.5)
XYZxyz(3.8565, 2.4890, 14.1843)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22216B #6A6B21
analogous
#21456B #22216B #47216B
triadic
#22216B #6B2221 #216B22
tetradic
#22216B #6B2145 #6A6B21 #216B47
square
#22216B #6B2145 #6A6B21 #216B47
split-complementary
#22216B #6B4721 #456B21
monochromatic
#070717 #13133C #22216B #312F9A #4442C5

Accessibility & contrast

On white

14.02
#22216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#22216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22216B
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22216B#FFFFFF#000000##FFFFFF
##22216B1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22216b;
/* rgb */ color: rgb(34, 33, 107);
/* oklch */ color: oklch(30.3% 0.125 276.5);
Tailwind
colors: {
  custom: {
    50: '#675c96',
    500: '#22216b',
    950: '#000000',
  },
}
SCSS
$custom: #22216b;
$custom-light: #675c96;
$custom-dark: #000000;
JSON
{
  "hex": "#22216b",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 240.811,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30268,
    "c": 0.1248,
    "h": 276.5
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#22216B
secondary
#9E9F49
accent
#DC4CDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #22216B

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

Preview Lab → · Contrast checker → · Palette generator →

#22216B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva