#221890#221890

#221890 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.182 H 273.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#221890
RGBrgb(34, 24, 144)
HSLhsl(245, 71%, 33%)
HSVhsv(245, 83%, 56%)
CMYKcmyk(76.4%, 83.3%, 0%, 43.5%)
CIE-LABlab(20.07, 43.82, -62.91)
CIE-LCHlch(20.07, 76.67, 304.86°)
OKLaboklab(33.03% 0.0115 -0.1819)
OKLCHoklch(33.03% 0.182 273.6)
XYZxyz(6.0187, 3.0063, 26.6432)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221890 #869018
analogous
#184A90 #221890 #5E1890
triadic
#221890 #902218 #189022
tetradic
#221890 #90184A #869018 #18905E
square
#221890 #90184A #869018 #18905E
split-complementary
#221890 #905E18 #4A9018
monochromatic
#090727 #160F5C #221890 #2E21C4 #5043E0

Accessibility & contrast

On white

13.11
#221890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221890
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221890#FFFFFF#000000##FFFFFF
##2218901.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221890;
/* rgb */ color: rgb(34, 24, 144);
/* oklch */ color: oklch(33.0% 0.182 273.6);
Tailwind
colors: {
  custom: {
    50: '#7159b2',
    500: '#221890',
    950: '#000000',
  },
}
SCSS
$custom: #221890;
$custom-light: #7159b2;
$custom-dark: #000000;
JSON
{
  "hex": "#221890",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 245,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33034,
    "c": 0.18232,
    "h": 273.6
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#221890
secondary
#B6C043
accent
#EE3ADF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #221890

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

Preview Lab → · Contrast checker → · Palette generator →

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