#22216D#22216D

#22216D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.128 H 276.3°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#22216D
RGBrgb(34, 33, 109)
HSLhsl(241, 54%, 28%)
HSVhsv(241, 70%, 43%)
CMYKcmyk(68.8%, 69.7%, 0%, 57.3%)
CIE-LABlab(18.06, 26.57, -43.98)
CIE-LCHlch(18.06, 51.38, 301.13°)
OKLaboklab(30.47% 0.0139 -0.1269)
OKLCHoklch(30.47% 0.128 276.3)
XYZxyz(3.9630, 2.5316, 14.7448)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22216D #6C6D21
analogous
#21466D #22216D #48216D
triadic
#22216D #6D2221 #216D22
tetradic
#22216D #6D2146 #6C6D21 #216D48
square
#22216D #6D2146 #6C6D21 #216D48
split-complementary
#22216D #6D4821 #466D21
monochromatic
#070717 #13133E #22216D #312F9C #4442C6

Accessibility & contrast

On white

13.94
#22216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#22216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22216D
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22216D#FFFFFF#000000##FFFFFF
##22216D1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22216d;
/* rgb */ color: rgb(34, 33, 109);
/* oklch */ color: oklch(30.5% 0.128 276.3);
Tailwind
colors: {
  custom: {
    50: '#685c98',
    500: '#22216d',
    950: '#000000',
  },
}
SCSS
$custom: #22216d;
$custom-light: #685c98;
$custom-dark: #000000;
JSON
{
  "hex": "#22216d",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 240.789,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30466,
    "c": 0.12765,
    "h": 276.3
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#22216D
secondary
#A0A149
accent
#DD4BDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #22216D

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

Preview Lab → · Contrast checker → · Palette generator →

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