#22208C#22208C

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

Color values

HEX#22208C
RGBrgb(34, 32, 140)
HSLhsl(241, 63%, 34%)
HSVhsv(241, 77%, 55%)
CMYKcmyk(75.7%, 77.1%, 0%, 45.1%)
CIE-LABlab(21.08, 38.24, -58.74)
CIE-LCHlch(21.08, 70.09, 303.07°)
OKLaboklab(33.6% 0.0093 -0.17)
OKLCHoklch(33.6% 0.17 273.1)
XYZxyz(5.9082, 3.2659, 25.1249)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22208C #8A8C20
analogous
#20548C #22208C #58208C
triadic
#22208C #8C2220 #208C22
tetradic
#22208C #8C2054 #8A8C20 #208C58
square
#22208C #8C2054 #8A8C20 #208C58
split-complementary
#22208C #8C5820 #548C20
monochromatic
#0A0928 #16155A #22208C #2E2BBE #5250D7

Accessibility & contrast

On white

12.70
#22208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22208C
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22208C#FFFFFF#000000##FFFFFF
##22208C1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#002D8A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #22208c;
/* rgb */ color: rgb(34, 32, 140);
/* oklch */ color: oklch(33.6% 0.170 273.1);
Tailwind
colors: {
  custom: {
    50: '#705daf',
    500: '#22208c',
    950: '#000000',
  },
}
SCSS
$custom: #22208c;
$custom-light: #705daf;
$custom-dark: #000000;
JSON
{
  "hex": "#22208c",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 241.111,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33603,
    "c": 0.17023,
    "h": 273.1
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22208C

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

Preview Lab → · Contrast checker → · Palette generator →

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