#22209B#22209B

#22209B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.189 H 271.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#22209B
RGBrgb(34, 32, 155)
HSLhsl(241, 66%, 37%)
HSVhsv(241, 79%, 61%)
CMYKcmyk(78.1%, 79.4%, 0%, 39.2%)
CIE-LABlab(22.79, 43.29, -65.19)
CIE-LCHlch(22.79, 78.26, 303.59°)
OKLaboklab(35.31% 0.0062 -0.1887)
OKLCHoklch(35.31% 0.189 271.9)
XYZxyz(7.0906, 3.7389, 31.3520)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22209B #999B20
analogous
#205C9B #22209B #60209B
triadic
#22209B #9B2220 #209B22
tetradic
#22209B #9B205C #999B20 #209B60
square
#22209B #9B205C #999B20 #209B60
split-complementary
#22209B #9B6020 #5C9B20
monochromatic
#0C0B36 #171668 #22209B #2D2ACE #5B59DD

Accessibility & contrast

On white

12.01
#22209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#22209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22209B
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22209B#FFFFFF#000000##FFFFFF
##22209B1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003099
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #22209b;
/* rgb */ color: rgb(34, 32, 155);
/* oklch */ color: oklch(35.3% 0.189 271.9);
Tailwind
colors: {
  custom: {
    50: '#745eba',
    500: '#22209b',
    950: '#000000',
  },
}
SCSS
$custom: #22209b;
$custom-light: #745eba;
$custom-dark: #000000;
JSON
{
  "hex": "#22209b",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 240.976,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35309,
    "c": 0.1888,
    "h": 271.9
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#22209B
secondary
#BFC156
accent
#E93FE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #22209B

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

Preview Lab → · Contrast checker → · Palette generator →

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