#22209E#22209E

#22209E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.192 H 271.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#22209E
RGBrgb(34, 32, 158)
HSLhsl(241, 66%, 37%)
HSVhsv(241, 80%, 62%)
CMYKcmyk(78.5%, 79.7%, 0%, 38%)
CIE-LABlab(23.14, 44.28, -66.45)
CIE-LCHlch(23.14, 79.85, 303.68°)
OKLaboklab(35.66% 0.0055 -0.1923)
OKLCHoklch(35.66% 0.192 271.6)
XYZxyz(7.3457, 3.8409, 32.6954)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22209E #9C9E20
analogous
#205D9E #22209E #61209E
triadic
#22209E #9E2220 #209E22
tetradic
#22209E #9E205D #9C9E20 #209E61
square
#22209E #9E205D #9C9E20 #209E61
split-complementary
#22209E #9E6120 #5D9E20
monochromatic
#0C0B38 #17166B #22209E #2D2AD1 #5D5BDE

Accessibility & contrast

On white

11.88
#22209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#22209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22209E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22209E#FFFFFF#000000##FFFFFF
##22209E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22209e;
/* rgb */ color: rgb(34, 32, 158);
/* oklch */ color: oklch(35.7% 0.192 271.6);
Tailwind
colors: {
  custom: {
    50: '#745ebc',
    500: '#22209e',
    950: '#000000',
  },
}
SCSS
$custom: #22209e;
$custom-light: #745ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#22209e",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 240.952,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35656,
    "c": 0.19243,
    "h": 271.6
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#22209E
secondary
#C0C258
accent
#E93FE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #22209E

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

Preview Lab → · Contrast checker → · Palette generator →

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