#22208D#22208D

#22208D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.171 H 273.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#22208D
RGBrgb(34, 32, 141)
HSLhsl(241, 63%, 34%)
HSVhsv(241, 77%, 55%)
CMYKcmyk(75.9%, 77.3%, 0%, 44.7%)
CIE-LABlab(21.19, 38.58, -59.18)
CIE-LCHlch(21.19, 70.65, 303.10°)
OKLaboklab(33.72% 0.0091 -0.1713)
OKLCHoklch(33.72% 0.171 273.1)
XYZxyz(5.9823, 3.2956, 25.5150)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22208D #8B8D20
analogous
#20558D #22208D #59208D
triadic
#22208D #8D2220 #208D22
tetradic
#22208D #8D2055 #8B8D20 #208D59
square
#22208D #8D2055 #8B8D20 #208D59
split-complementary
#22208D #8D5920 #558D20
monochromatic
#0A0929 #16155B #22208D #2E2BBF #5350D7

Accessibility & contrast

On white

12.66
#22208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#22208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22208D
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22208D#FFFFFF#000000##FFFFFF
##22208D1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #22208d;
/* rgb */ color: rgb(34, 32, 141);
/* oklch */ color: oklch(33.7% 0.171 273.1);
Tailwind
colors: {
  custom: {
    50: '#705db0',
    500: '#22208d',
    950: '#000000',
  },
}
SCSS
$custom: #22208d;
$custom-light: #705db0;
$custom-dark: #000000;
JSON
{
  "hex": "#22208d",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 241.101,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33715,
    "c": 0.17149,
    "h": 273.1
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#22208D
secondary
#B8BA4E
accent
#E642E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #22208D

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

Preview Lab → · Contrast checker → · Palette generator →

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