#22216E#22216E

#22216E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.129 H 276.1°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#22216E
RGBrgb(34, 33, 110)
HSLhsl(241, 54%, 28%)
HSVhsv(241, 70%, 43%)
CMYKcmyk(69.1%, 70%, 0%, 56.9%)
CIE-LABlab(18.16, 26.93, -44.47)
CIE-LCHlch(18.16, 51.99, 301.20°)
OKLaboklab(30.57% 0.0138 -0.1283)
OKLCHoklch(30.57% 0.129 276.1)
XYZxyz(4.0171, 2.5532, 15.0300)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22216E #6D6E21
analogous
#21466E #22216E #48216E
triadic
#22216E #6E2221 #216E22
tetradic
#22216E #6E2146 #6D6E21 #216E48
square
#22216E #6E2146 #6D6E21 #216E48
split-complementary
#22216E #6E4821 #466E21
monochromatic
#070718 #13133F #22216E #312F9D #4543C7

Accessibility & contrast

On white

13.90
#22216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22216E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22216E#FFFFFF#000000##FFFFFF
##22216E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22216e;
/* rgb */ color: rgb(34, 33, 110);
/* oklch */ color: oklch(30.6% 0.129 276.1);
Tailwind
colors: {
  custom: {
    50: '#685c98',
    500: '#22216e',
    950: '#000000',
  },
}
SCSS
$custom: #22216e;
$custom-light: #685c98;
$custom-dark: #000000;
JSON
{
  "hex": "#22216e",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 240.779,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30566,
    "c": 0.12907,
    "h": 276.1
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22216E

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

Preview Lab → · Contrast checker → · Palette generator →

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