#221996#221996

#221996 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.189 H 272.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#221996
RGBrgb(34, 25, 150)
HSLhsl(244, 71%, 34%)
HSVhsv(244, 83%, 59%)
CMYKcmyk(77.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(20.97, 45.23, -65.13)
CIE-LCHlch(20.97, 79.30, 304.78°)
OKLaboklab(33.87% 0.0096 -0.1884)
OKLCHoklch(33.87% 0.189 272.9)
XYZxyz(6.5105, 3.2367, 29.1299)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221996 #8D9619
analogous
#194F96 #221996 #611996
triadic
#221996 #962219 #199622
tetradic
#221996 #96194F #8D9619 #199661
square
#221996 #96194F #8D9619 #199661
split-complementary
#221996 #966119 #4F9619
monochromatic
#0A082D #161062 #221996 #2E22CA #5449E1

Accessibility & contrast

On white

12.75
#221996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#221996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221996
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221996#FFFFFF#000000##FFFFFF
##2219961.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002C94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #221996;
/* rgb */ color: rgb(34, 25, 150);
/* oklch */ color: oklch(33.9% 0.189 272.9);
Tailwind
colors: {
  custom: {
    50: '#735ab6',
    500: '#221996',
    950: '#000000',
  },
}
SCSS
$custom: #221996;
$custom-light: #735ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#221996",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 244.32,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33868,
    "c": 0.18867,
    "h": 272.9
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#221996
secondary
#B9C249
accent
#EE3AE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #221996

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

Preview Lab → · Contrast checker → · Palette generator →

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