#22219F#22219F

#22219F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.193 H 271.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#22219F
RGBrgb(34, 33, 159)
HSLhsl(240, 66%, 38%)
HSVhsv(240, 79%, 62%)
CMYKcmyk(78.6%, 79.2%, 0%, 37.6%)
CIE-LABlab(23.44, 44.07, -66.56)
CIE-LCHlch(23.44, 79.83, 303.51°)
OKLaboklab(35.9% 0.005 -0.1927)
OKLCHoklch(35.9% 0.193 271.5)
XYZxyz(7.4594, 3.9302, 33.1596)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22219F #9E9F21
analogous
#215F9F #22219F #61219F
triadic
#22219F #9F2221 #219F22
tetradic
#22219F #9F215F #9E9F21 #219F61
square
#22219F #9F215F #9E9F21 #219F61
split-complementary
#22219F #9F6121 #5F9F21
monochromatic
#0C0C3A #17166C #22219F #2D2CD2 #5E5DDD

Accessibility & contrast

On white

11.76
#22219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#22219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22219F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22219F#FFFFFF#000000##FFFFFF
##22219F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22219f;
/* rgb */ color: rgb(34, 33, 159);
/* oklch */ color: oklch(35.9% 0.193 271.5);
Tailwind
colors: {
  custom: {
    50: '#745fbd',
    500: '#22219f',
    950: '#000000',
  },
}
SCSS
$custom: #22219f;
$custom-light: #745fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#22219f",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 240.476,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.35901,
    "c": 0.19275,
    "h": 271.5
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#22219F
secondary
#C1C25A
accent
#E93FE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22219F

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

Preview Lab → · Contrast checker → · Palette generator →

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