#221992#221992

#221992 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.184 H 273.3°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#221992
RGBrgb(34, 25, 146)
HSLhsl(244, 71%, 34%)
HSVhsv(244, 83%, 57%)
CMYKcmyk(76.7%, 82.9%, 0%, 42.7%)
CIE-LABlab(20.48, 43.97, -63.47)
CIE-LCHlch(20.48, 77.21, 304.71°)
OKLaboklab(33.39% 0.0107 -0.1836)
OKLCHoklch(33.39% 0.184 273.3)
XYZxyz(6.1939, 3.1100, 27.4624)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221992 #899219
analogous
#194C92 #221992 #5E1992
triadic
#221992 #922219 #199222
tetradic
#221992 #92194C #899219 #19925E
square
#221992 #92194C #899219 #19925E
split-complementary
#221992 #925E19 #4C9219
monochromatic
#0A0729 #16105E #221992 #2E22C6 #5146DF

Accessibility & contrast

On white

12.95
#221992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#221992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221992
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221992#FFFFFF#000000##FFFFFF
##2219921.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003795
Deuteranopia (green-blind)
#002B90
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #221992;
/* rgb */ color: rgb(34, 25, 146);
/* oklch */ color: oklch(33.4% 0.184 273.3);
Tailwind
colors: {
  custom: {
    50: '#725ab3',
    500: '#221992',
    950: '#000000',
  },
}
SCSS
$custom: #221992;
$custom-light: #725ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#221992",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 244.463,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33388,
    "c": 0.18391,
    "h": 273.3
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#221992
secondary
#B8C146
accent
#EE3AE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #221992

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

Preview Lab → · Contrast checker → · Palette generator →

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