#221372#221372

#221372 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.150 H 278.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#221372
RGBrgb(34, 19, 114)
HSLhsl(249, 71%, 26%)
HSVhsv(249, 83%, 45%)
CMYKcmyk(70.2%, 83.3%, 0%, 55.3%)
CIE-LABlab(15.59, 36.70, -51.29)
CIE-LCHlch(15.59, 63.06, 305.59°)
OKLaboklab(28.88% 0.0223 -0.1481)
OKLCHoklch(28.88% 0.15 278.6)
XYZxyz(3.9288, 2.0204, 16.0993)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221372 #637213
analogous
#133372 #221372 #511372
triadic
#221372 #722213 #137222
tetradic
#221372 #721333 #637213 #137251
square
#221372 #721333 #637213 #137251
split-complementary
#221372 #725113 #337213
monochromatic
#08041A #120A3E #221372 #321CA6 #4125DB

Accessibility & contrast

On white

14.96
#221372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#221372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221372
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221372#FFFFFF#000000##FFFFFF
##2213721.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221372;
/* rgb */ color: rgb(34, 19, 114);
/* oklch */ color: oklch(28.9% 0.150 278.6);
Tailwind
colors: {
  custom: {
    50: '#6a549c',
    500: '#221372',
    950: '#000000',
  },
}
SCSS
$custom: #221372;
$custom-light: #6a549c;
$custom-dark: #000000;
JSON
{
  "hex": "#221372",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 249.474,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28875,
    "c": 0.14981,
    "h": 278.6
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#221372
secondary
#97A938
accent
#EE3AD2
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221372

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

Preview Lab → · Contrast checker → · Palette generator →

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