#22208F#22208F

#22208F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.174 H 272.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#22208F
RGBrgb(34, 32, 143)
HSLhsl(241, 63%, 34%)
HSVhsv(241, 78%, 56%)
CMYKcmyk(76.2%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.42, 39.27, -60.06)
CIE-LCHlch(21.42, 71.75, 303.18°)
OKLaboklab(33.94% 0.0087 -0.1738)
OKLCHoklch(33.94% 0.174 272.9)
XYZxyz(6.1325, 3.3556, 26.3058)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22208F #8D8F20
analogous
#20568F #22208F #5A208F
triadic
#22208F #8F2220 #208F22
tetradic
#22208F #8F2056 #8D8F20 #208F5A
square
#22208F #8F2056 #8D8F20 #208F5A
split-complementary
#22208F #8F5A20 #568F20
monochromatic
#0A0A2B #16155D #22208F #2E2BC1 #5451D8

Accessibility & contrast

On white

12.57
#22208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#22208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22208F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22208F#FFFFFF#000000##FFFFFF
##22208F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #22208f;
/* rgb */ color: rgb(34, 32, 143);
/* oklch */ color: oklch(33.9% 0.174 272.9);
Tailwind
colors: {
  custom: {
    50: '#705db1',
    500: '#22208f',
    950: '#000000',
  },
}
SCSS
$custom: #22208f;
$custom-light: #705db1;
$custom-dark: #000000;
JSON
{
  "hex": "#22208f",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 241.081,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3394,
    "c": 0.17401,
    "h": 272.9
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#22208F
secondary
#B9BB4F
accent
#E641E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #22208F

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

Preview Lab → · Contrast checker → · Palette generator →

#22208F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva