#22219B#22219B

#22219B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.188 H 271.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#22219B
RGBrgb(34, 33, 155)
HSLhsl(240, 65%, 37%)
HSVhsv(240, 79%, 61%)
CMYKcmyk(78.1%, 78.7%, 0%, 39.2%)
CIE-LABlab(22.98, 42.75, -64.88)
CIE-LCHlch(22.98, 77.70, 303.38°)
OKLaboklab(35.44% 0.0058 -0.1878)
OKLCHoklch(35.44% 0.188 271.8)
XYZxyz(7.1179, 3.7936, 31.3611)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22219B #9A9B21
analogous
#215D9B #22219B #5F219B
triadic
#22219B #9B2221 #219B22
tetradic
#22219B #9B215D #9A9B21 #219B5F
square
#22219B #9B215D #9A9B21 #219B5F
split-complementary
#22219B #9B5F21 #5D9B21
monochromatic
#0C0C36 #171669 #22219B #2D2CCD #5B5ADC

Accessibility & contrast

On white

11.94
#22219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#22219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22219B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22219B#FFFFFF#000000##FFFFFF
##22219B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22219b;
/* rgb */ color: rgb(34, 33, 155);
/* oklch */ color: oklch(35.4% 0.188 271.8);
Tailwind
colors: {
  custom: {
    50: '#735fba',
    500: '#22219b',
    950: '#000000',
  },
}
SCSS
$custom: #22219b;
$custom-light: #735fba;
$custom-dark: #000000;
JSON
{
  "hex": "#22219b",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 240.492,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35442,
    "c": 0.1879,
    "h": 271.8
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22219B

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

Preview Lab → · Contrast checker → · Palette generator →

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