#22208B#22208B

#22208B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.169 H 273.2°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#22208B
RGBrgb(34, 32, 139)
HSLhsl(241, 63%, 34%)
HSVhsv(241, 77%, 55%)
CMYKcmyk(75.5%, 77%, 0%, 45.5%)
CIE-LABlab(20.97, 37.90, -58.30)
CIE-LCHlch(20.97, 69.54, 303.03°)
OKLaboklab(33.49% 0.0095 -0.1687)
OKLCHoklch(33.49% 0.169 273.2)
XYZxyz(5.8348, 3.2366, 24.7383)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22208B #898B20
analogous
#20538B #22208B #57208B
triadic
#22208B #8B2220 #208B22
tetradic
#22208B #8B2053 #898B20 #208B57
square
#22208B #8B2053 #898B20 #208B57
split-complementary
#22208B #8B5720 #538B20
monochromatic
#0A0928 #161559 #22208B #2E2BBD #514FD6

Accessibility & contrast

On white

12.75
#22208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#22208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22208B
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22208B#FFFFFF#000000##FFFFFF
##22208B1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #22208b;
/* rgb */ color: rgb(34, 32, 139);
/* oklch */ color: oklch(33.5% 0.169 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f5dae',
    500: '#22208b',
    950: '#000000',
  },
}
SCSS
$custom: #22208b;
$custom-light: #6f5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#22208b",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 241.121,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.16896,
    "h": 273.2
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#22208B
secondary
#B8BA4D
accent
#E642E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #22208B

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

Preview Lab → · Contrast checker → · Palette generator →

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