#221594#221594

#221594 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.2% C 0.189 H 273.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#221594
RGBrgb(34, 21, 148)
HSLhsl(246, 75%, 33%)
HSVhsv(246, 86%, 58%)
CMYKcmyk(77%, 85.8%, 0%, 42%)
CIE-LABlab(20.10, 46.44, -65.34)
CIE-LCHlch(20.10, 80.16, 305.40°)
OKLaboklab(33.2% 0.0113 -0.1889)
OKLCHoklch(33.2% 0.189 273.4)
XYZxyz(6.2714, 3.0139, 28.2625)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221594 #879415
analogous
#154794 #221594 #611594
triadic
#221594 #942215 #159422
tetradic
#221594 #941547 #879415 #159461
square
#221594 #941547 #879415 #159461
split-complementary
#221594 #946115 #479415
monochromatic
#090629 #160D5E #221594 #2E1DCA #5040E4

Accessibility & contrast

On white

13.10
#221594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#221594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221594
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221594#FFFFFF#000000##FFFFFF
##2215941.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003697
Deuteranopia (green-blind)
#002A92
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #221594;
/* rgb */ color: rgb(34, 21, 148);
/* oklch */ color: oklch(33.2% 0.189 273.4);
Tailwind
colors: {
  custom: {
    50: '#7358b5',
    500: '#221594',
    950: '#000000',
  },
}
SCSS
$custom: #221594;
$custom-light: #7358b5;
$custom-dark: #000000;
JSON
{
  "hex": "#221594",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 148
  },
  "hsl": {
    "h": 246.142,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33197,
    "c": 0.18928,
    "h": 273.4
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#221594
secondary
#B7C441
accent
#F236DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #221594

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

Preview Lab → · Contrast checker → · Palette generator →

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