#22219A#22219A

#22219A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.187 H 271.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#22219A
RGBrgb(34, 33, 154)
HSLhsl(240, 65%, 37%)
HSVhsv(240, 79%, 60%)
CMYKcmyk(77.9%, 78.6%, 0%, 39.6%)
CIE-LABlab(22.86, 42.42, -64.46)
CIE-LCHlch(22.86, 77.16, 303.35°)
OKLaboklab(35.33% 0.006 -0.1866)
OKLCHoklch(35.33% 0.187 271.9)
XYZxyz(7.0343, 3.7601, 30.9206)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22219A #999A21
analogous
#215D9A #22219A #5F219A
triadic
#22219A #9A2221 #219A22
tetradic
#22219A #9A215D #999A21 #219A5F
square
#22219A #9A215D #999A21 #219A5F
split-complementary
#22219A #9A5F21 #5D9A21
monochromatic
#0C0B35 #171668 #22219A #2D2CCC #5B5ADC

Accessibility & contrast

On white

11.98
#22219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#22219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22219A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22219A#FFFFFF#000000##FFFFFF
##22219A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22219a;
/* rgb */ color: rgb(34, 33, 154);
/* oklch */ color: oklch(35.3% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#735fb9',
    500: '#22219a',
    950: '#000000',
  },
}
SCSS
$custom: #22219a;
$custom-light: #735fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#22219a",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 240.496,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35327,
    "c": 0.18669,
    "h": 271.9
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#22219A
secondary
#BFC057
accent
#E840E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22219A

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

Preview Lab → · Contrast checker → · Palette generator →

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