#222096#222096

#222096 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.183 H 272.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#222096
RGBrgb(34, 32, 150)
HSLhsl(241, 65%, 36%)
HSVhsv(241, 79%, 59%)
CMYKcmyk(77.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(22.21, 41.63, -63.07)
CIE-LCHlch(22.21, 75.57, 303.43°)
OKLaboklab(34.74% 0.0073 -0.1826)
OKLCHoklch(34.74% 0.183 272.3)
XYZxyz(6.6794, 3.5744, 29.1862)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222096 #949620
analogous
#205996 #222096 #5D2096
triadic
#222096 #962220 #209622
tetradic
#222096 #962059 #949620 #20965D
square
#222096 #962059 #949620 #20965D
split-complementary
#222096 #965D20 #599620
monochromatic
#0B0A31 #171564 #222096 #2D2BC8 #5856DB

Accessibility & contrast

On white

12.24
#222096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#222096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222096
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222096#FFFFFF#000000##FFFFFF
##2220961.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222096;
/* rgb */ color: rgb(34, 32, 150);
/* oklch */ color: oklch(34.7% 0.183 272.3);
Tailwind
colors: {
  custom: {
    50: '#725eb6',
    500: '#222096',
    950: '#000000',
  },
}
SCSS
$custom: #222096;
$custom-light: #725eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#222096",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 241.017,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34735,
    "c": 0.1827,
    "h": 272.3
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#222096
secondary
#BDBE53
accent
#E840E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222096

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

Preview Lab → · Contrast checker → · Palette generator →

#222096 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva