#22209F#22209F

#22209F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.194 H 271.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#22209F
RGBrgb(34, 32, 159)
HSLhsl(241, 66%, 37%)
HSVhsv(241, 80%, 62%)
CMYKcmyk(78.6%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.26, 44.61, -66.86)
CIE-LCHlch(23.26, 80.38, 303.71°)
OKLaboklab(35.77% 0.0053 -0.1936)
OKLCHoklch(35.77% 0.194 271.6)
XYZxyz(7.4321, 3.8755, 33.1505)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22209F #9D9F20
analogous
#205D9F #22209F #62209F
triadic
#22209F #9F2220 #209F22
tetradic
#22209F #9F205D #9D9F20 #209F62
square
#22209F #9F205D #9D9F20 #209F62
split-complementary
#22209F #9F6220 #5D9F20
monochromatic
#0C0B39 #17166C #22209F #2D2AD2 #5D5BDE

Accessibility & contrast

On white

11.83
#22209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#22209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22209F
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22209F#FFFFFF#000000##FFFFFF
##22209F1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22209f;
/* rgb */ color: rgb(34, 32, 159);
/* oklch */ color: oklch(35.8% 0.194 271.6);
Tailwind
colors: {
  custom: {
    50: '#755ebd',
    500: '#22209f',
    950: '#000000',
  },
}
SCSS
$custom: #22209f;
$custom-light: #755ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#22209f",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 240.945,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35772,
    "c": 0.19363,
    "h": 271.6
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#22209F
secondary
#C1C259
accent
#E93EE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22209F

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

Preview Lab → · Contrast checker → · Palette generator →

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