#221994#221994

#221994 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.186 H 273.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#221994
RGBrgb(34, 25, 148)
HSLhsl(244, 71%, 34%)
HSVhsv(244, 83%, 58%)
CMYKcmyk(77%, 83.1%, 0%, 42%)
CIE-LABlab(20.72, 44.60, -64.30)
CIE-LCHlch(20.72, 78.26, 304.75°)
OKLaboklab(33.63% 0.0102 -0.186)
OKLCHoklch(33.63% 0.186 273.1)
XYZxyz(6.3508, 3.1728, 28.2889)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221994 #8B9419
analogous
#194E94 #221994 #601994
triadic
#221994 #942219 #199422
tetradic
#221994 #94194E #8B9419 #199460
square
#221994 #94194E #8B9419 #199460
split-complementary
#221994 #946019 #4E9419
monochromatic
#0A072B #161060 #221994 #2E22C8 #5347E0

Accessibility & contrast

On white

12.85
#221994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221994
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221994#FFFFFF#000000##FFFFFF
##2219941.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003797
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #221994;
/* rgb */ color: rgb(34, 25, 148);
/* oklch */ color: oklch(33.6% 0.186 273.1);
Tailwind
colors: {
  custom: {
    50: '#725ab5',
    500: '#221994',
    950: '#000000',
  },
}
SCSS
$custom: #221994;
$custom-light: #725ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#221994",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 244.39,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33628,
    "c": 0.1863,
    "h": 273.1
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #221994

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

Preview Lab → · Contrast checker → · Palette generator →

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