#221590#221590

#221590 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.185 H 273.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#221590
RGBrgb(34, 21, 144)
HSLhsl(246, 75%, 32%)
HSVhsv(246, 85%, 56%)
CMYKcmyk(76.4%, 85.4%, 0%, 43.5%)
CIE-LABlab(19.60, 45.22, -63.69)
CIE-LCHlch(19.60, 78.11, 305.37°)
OKLaboklab(32.71% 0.0125 -0.1842)
OKLCHoklch(32.71% 0.185 273.9)
XYZxyz(5.9602, 2.8894, 26.6237)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221590 #839015
analogous
#154690 #221590 #5F1590
triadic
#221590 #902215 #159022
tetradic
#221590 #901546 #839015 #15905F
square
#221590 #901546 #839015 #15905F
split-complementary
#221590 #905F15 #469015
monochromatic
#090525 #150D5B #221590 #2F1DC5 #4E3DE3

Accessibility & contrast

On white

13.31
#221590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221590
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221590#FFFFFF#000000##FFFFFF
##2215901.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #221590;
/* rgb */ color: rgb(34, 21, 144);
/* oklch */ color: oklch(32.7% 0.185 273.9);
Tailwind
colors: {
  custom: {
    50: '#7257b2',
    500: '#221590',
    950: '#000000',
  },
}
SCSS
$custom: #221590;
$custom-light: #7257b2;
$custom-dark: #000000;
JSON
{
  "hex": "#221590",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 246.341,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32707,
    "c": 0.18459,
    "h": 273.9
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#221590
secondary
#B4C23E
accent
#F137DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #221590

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

Preview Lab → · Contrast checker → · Palette generator →

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