#221591#221591

#221591 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.186 H 273.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#221591
RGBrgb(34, 21, 145)
HSLhsl(246, 75%, 33%)
HSVhsv(246, 86%, 57%)
CMYKcmyk(76.6%, 85.5%, 0%, 43.1%)
CIE-LABlab(19.72, 45.52, -64.11)
CIE-LCHlch(19.72, 78.63, 305.38°)
OKLaboklab(32.83% 0.0122 -0.1854)
OKLCHoklch(32.83% 0.186 273.8)
XYZxyz(6.0370, 2.9201, 27.0281)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221591 #849115
analogous
#154691 #221591 #601591
triadic
#221591 #912215 #159122
tetradic
#221591 #911546 #849115 #159160
square
#221591 #911546 #849115 #159160
split-complementary
#221591 #916015 #469115
monochromatic
#090626 #150D5C #221591 #2F1DC6 #4F3DE3

Accessibility & contrast

On white

13.26
#221591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#221591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221591
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221591#FFFFFF#000000##FFFFFF
##2215911.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003594
Deuteranopia (green-blind)
#002A8F
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #221591;
/* rgb */ color: rgb(34, 21, 145);
/* oklch */ color: oklch(32.8% 0.186 273.8);
Tailwind
colors: {
  custom: {
    50: '#7257b3',
    500: '#221591',
    950: '#000000',
  },
}
SCSS
$custom: #221591;
$custom-light: #7257b3;
$custom-dark: #000000;
JSON
{
  "hex": "#221591",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 145
  },
  "hsl": {
    "h": 246.29,
    "s": 74.699,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32829,
    "c": 0.18577,
    "h": 273.8
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#221591
secondary
#B5C33F
accent
#F136DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #221591

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

Preview Lab → · Contrast checker → · Palette generator →

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