#22216C#22216C

#22216C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.126 H 276.4°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#22216C
RGBrgb(34, 33, 108)
HSLhsl(241, 53%, 28%)
HSVhsv(241, 69%, 42%)
CMYKcmyk(68.5%, 69.4%, 0%, 57.6%)
CIE-LABlab(17.96, 26.20, -43.49)
CIE-LCHlch(17.96, 50.77, 301.06°)
OKLaboklab(30.37% 0.0141 -0.1254)
OKLCHoklch(30.37% 0.126 276.4)
XYZxyz(3.9094, 2.5102, 14.4629)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22216C #6B6C21
analogous
#21456C #22216C #47216C
triadic
#22216C #6C2221 #216C22
tetradic
#22216C #6C2145 #6B6C21 #216C47
square
#22216C #6C2145 #6B6C21 #216C47
split-complementary
#22216C #6C4721 #456C21
monochromatic
#070717 #13133D #22216C #312F9B #4442C5

Accessibility & contrast

On white

13.98
#22216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22216C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22216C#FFFFFF#000000##FFFFFF
##22216C1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22216c;
/* rgb */ color: rgb(34, 33, 108);
/* oklch */ color: oklch(30.4% 0.126 276.4);
Tailwind
colors: {
  custom: {
    50: '#685c97',
    500: '#22216c',
    950: '#000000',
  },
}
SCSS
$custom: #22216c;
$custom-light: #685c97;
$custom-dark: #000000;
JSON
{
  "hex": "#22216c",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 240.8,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30367,
    "c": 0.12622,
    "h": 276.4
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#22216C
secondary
#9FA049
accent
#DD4BDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #22216C

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

Preview Lab → · Contrast checker → · Palette generator →

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