#221993#221993

#221993 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.185 H 273.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#221993
RGBrgb(34, 25, 147)
HSLhsl(244, 71%, 34%)
HSVhsv(244, 83%, 58%)
CMYKcmyk(76.9%, 83%, 0%, 42.4%)
CIE-LABlab(20.60, 44.29, -63.89)
CIE-LCHlch(20.60, 77.74, 304.73°)
OKLaboklab(33.51% 0.0104 -0.1848)
OKLCHoklch(33.51% 0.185 273.2)
XYZxyz(6.2720, 3.1413, 27.8739)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221993 #8A9319
analogous
#194D93 #221993 #5F1993
triadic
#221993 #932219 #199322
tetradic
#221993 #93194D #8A9319 #19935F
square
#221993 #93194D #8A9319 #19935F
split-complementary
#221993 #935F19 #4D9319
monochromatic
#0A072A #16105F #221993 #2E22C7 #5247E0

Accessibility & contrast

On white

12.90
#221993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#221993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221993
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221993#FFFFFF#000000##FFFFFF
##2219931.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #221993;
/* rgb */ color: rgb(34, 25, 147);
/* oklch */ color: oklch(33.5% 0.185 273.2);
Tailwind
colors: {
  custom: {
    50: '#725ab4',
    500: '#221993',
    950: '#000000',
  },
}
SCSS
$custom: #221993;
$custom-light: #725ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#221993",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 244.426,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33508,
    "c": 0.1851,
    "h": 273.2
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #221993

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

Preview Lab → · Contrast checker → · Palette generator →

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