#22209D#22209D

#22209D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.191 H 271.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#22209D
RGBrgb(34, 32, 157)
HSLhsl(241, 66%, 37%)
HSVhsv(241, 80%, 62%)
CMYKcmyk(78.3%, 79.6%, 0%, 38.4%)
CIE-LABlab(23.02, 43.95, -66.03)
CIE-LCHlch(23.02, 79.32, 303.65°)
OKLaboklab(35.54% 0.0058 -0.1911)
OKLCHoklch(35.54% 0.191 271.7)
XYZxyz(7.2600, 3.8066, 32.2439)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22209D #9B9D20
analogous
#205D9D #22209D #61209D
triadic
#22209D #9D2220 #209D22
tetradic
#22209D #9D205D #9B9D20 #209D61
square
#22209D #9D205D #9B9D20 #209D61
split-complementary
#22209D #9D6120 #5D9D20
monochromatic
#0C0B37 #17166A #22209D #2D2AD0 #5C5ADD

Accessibility & contrast

On white

11.92
#22209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#22209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22209D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22209D#FFFFFF#000000##FFFFFF
##22209D1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22209d;
/* rgb */ color: rgb(34, 32, 157);
/* oklch */ color: oklch(35.5% 0.191 271.7);
Tailwind
colors: {
  custom: {
    50: '#745ebb',
    500: '#22209d',
    950: '#000000',
  },
}
SCSS
$custom: #22209d;
$custom-light: #745ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#22209d",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 240.96,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35541,
    "c": 0.19123,
    "h": 271.7
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22209D

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

Preview Lab → · Contrast checker → · Palette generator →

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