#22219C#22219C

#22219C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.189 H 271.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#22219C
RGBrgb(34, 33, 156)
HSLhsl(240, 65%, 37%)
HSVhsv(240, 79%, 61%)
CMYKcmyk(78.2%, 78.8%, 0%, 38.8%)
CIE-LABlab(23.09, 43.08, -65.30)
CIE-LCHlch(23.09, 78.23, 303.41°)
OKLaboklab(35.56% 0.0056 -0.189)
OKLCHoklch(35.56% 0.189 271.7)
XYZxyz(7.2023, 3.8273, 31.8052)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22219C #9B9C21
analogous
#215E9C #22219C #60219C
triadic
#22219C #9C2221 #219C22
tetradic
#22219C #9C215E #9B9C21 #219C60
square
#22219C #9C215E #9B9C21 #219C60
split-complementary
#22219C #9C6021 #5E9C21
monochromatic
#0C0C37 #171669 #22219C #2D2CCF #5C5BDC

Accessibility & contrast

On white

11.89
#22219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#22219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22219C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22219C#FFFFFF#000000##FFFFFF
##22219C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22219c;
/* rgb */ color: rgb(34, 33, 156);
/* oklch */ color: oklch(35.6% 0.189 271.7);
Tailwind
colors: {
  custom: {
    50: '#745fbb',
    500: '#22219c',
    950: '#000000',
  },
}
SCSS
$custom: #22219c;
$custom-light: #745fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#22219c",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 240.488,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.18912,
    "h": 271.7
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#22219C
secondary
#C0C158
accent
#E840E7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22219C

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

Preview Lab → · Contrast checker → · Palette generator →

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