#22216A#22216A

#22216A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.123 H 276.6°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#22216A
RGBrgb(34, 33, 106)
HSLhsl(241, 53%, 27%)
HSVhsv(241, 69%, 42%)
CMYKcmyk(67.9%, 68.9%, 0%, 58.4%)
CIE-LABlab(17.77, 25.46, -42.49)
CIE-LCHlch(17.77, 49.54, 300.92°)
OKLaboklab(30.17% 0.0143 -0.1225)
OKLCHoklch(30.17% 0.123 276.6)
XYZxyz(3.8042, 2.4681, 13.9088)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22216A #696A21
analogous
#21456A #22216A #47216A
triadic
#22216A #6A2221 #216A22
tetradic
#22216A #6A2145 #696A21 #216A47
square
#22216A #6A2145 #696A21 #216A47
split-complementary
#22216A #6A4721 #456A21
monochromatic
#070717 #13123B #22216A #313099 #4341C4

Accessibility & contrast

On white

14.06
#22216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#22216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22216A
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22216A#FFFFFF#000000##FFFFFF
##22216A1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22216a;
/* rgb */ color: rgb(34, 33, 106);
/* oklch */ color: oklch(30.2% 0.123 276.6);
Tailwind
colors: {
  custom: {
    50: '#675c95',
    500: '#22216a',
    950: '#000000',
  },
}
SCSS
$custom: #22216a;
$custom-light: #675c95;
$custom-dark: #000000;
JSON
{
  "hex": "#22216a",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 240.822,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30169,
    "c": 0.12337,
    "h": 276.6
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22216A

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

Preview Lab → · Contrast checker → · Palette generator →

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