#221190#221190

#221190 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.187 H 274.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#221190
RGBrgb(34, 17, 144)
HSLhsl(248, 79%, 32%)
HSVhsv(248, 88%, 56%)
CMYKcmyk(76.4%, 88.2%, 0%, 43.5%)
CIE-LABlab(19.03, 46.90, -64.63)
CIE-LCHlch(19.03, 79.85, 305.96°)
OKLaboklab(32.32% 0.0135 -0.1868)
OKLCHoklch(32.32% 0.187 274.1)
XYZxyz(5.8925, 2.7540, 26.6012)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221190 #7F9011
analogous
#114090 #221190 #621190
triadic
#221190 #902211 #119022
tetradic
#221190 #901140 #7F9011 #119062
square
#221190 #901140 #7F9011 #119062
split-complementary
#221190 #906211 #409011
monochromatic
#080423 #150B59 #221190 #2F17C7 #4C34E7

Accessibility & contrast

On white

13.54
#221190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#221190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221190
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221190#FFFFFF#000000##FFFFFF
##2211901.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #221190;
/* rgb */ color: rgb(34, 17, 144);
/* oklch */ color: oklch(32.3% 0.187 274.1);
Tailwind
colors: {
  custom: {
    50: '#7256b2',
    500: '#221190',
    950: '#000000',
  },
}
SCSS
$custom: #221190;
$custom-light: #7256b2;
$custom-dark: #000000;
JSON
{
  "hex": "#221190",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 248.031,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32319,
    "c": 0.1873,
    "h": 274.1
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#221190
secondary
#B2C439
accent
#F532DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #221190

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

Preview Lab → · Contrast checker → · Palette generator →

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