#22219E#22219E

#22219E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.192 H 271.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#22219E
RGBrgb(34, 33, 158)
HSLhsl(240, 65%, 37%)
HSVhsv(240, 79%, 62%)
CMYKcmyk(78.5%, 79.1%, 0%, 38%)
CIE-LABlab(23.32, 43.74, -66.14)
CIE-LCHlch(23.32, 79.30, 303.48°)
OKLaboklab(35.79% 0.0052 -0.1915)
OKLCHoklch(35.79% 0.192 271.6)
XYZxyz(7.3730, 3.8956, 32.7045)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22219E #9D9E21
analogous
#215F9E #22219E #61219E
triadic
#22219E #9E2221 #219E22
tetradic
#22219E #9E215F #9D9E21 #219E61
square
#22219E #9E215F #9D9E21 #219E61
split-complementary
#22219E #9E6121 #5F9E21
monochromatic
#0C0C39 #17166B #22219E #2D2CD1 #5D5CDD

Accessibility & contrast

On white

11.80
#22219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#22219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22219E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22219E#FFFFFF#000000##FFFFFF
##22219E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22219e;
/* rgb */ color: rgb(34, 33, 158);
/* oklch */ color: oklch(35.8% 0.192 271.6);
Tailwind
colors: {
  custom: {
    50: '#745fbc',
    500: '#22219e',
    950: '#000000',
  },
}
SCSS
$custom: #22219e;
$custom-light: #745fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#22219e",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 240.48,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.19155,
    "h": 271.6
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#22219E
secondary
#C1C159
accent
#E83FE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22219E

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

Preview Lab → · Contrast checker → · Palette generator →

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