#221990#221990

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

Color values

HEX#221990
RGBrgb(34, 25, 144)
HSLhsl(245, 70%, 33%)
HSVhsv(245, 83%, 56%)
CMYKcmyk(76.4%, 82.6%, 0%, 43.5%)
CIE-LABlab(20.24, 43.33, -62.63)
CIE-LCHlch(20.24, 76.16, 304.68°)
OKLaboklab(33.15% 0.0112 -0.1812)
OKLCHoklch(33.15% 0.182 273.5)
XYZxyz(6.0397, 3.0483, 26.6502)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221990 #879019
analogous
#194B90 #221990 #5D1990
triadic
#221990 #902219 #199022
tetradic
#221990 #90194B #879019 #19905D
square
#221990 #90194B #879019 #19905D
split-complementary
#221990 #905D19 #4B9019
monochromatic
#090728 #16105C #221990 #2E22C4 #5045DF

Accessibility & contrast

On white

13.05
#221990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#221990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221990
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221990#FFFFFF#000000##FFFFFF
##2219901.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221990;
/* rgb */ color: rgb(34, 25, 144);
/* oklch */ color: oklch(33.1% 0.182 273.5);
Tailwind
colors: {
  custom: {
    50: '#7159b2',
    500: '#221990',
    950: '#000000',
  },
}
SCSS
$custom: #221990;
$custom-light: #7159b2;
$custom-dark: #000000;
JSON
{
  "hex": "#221990",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 244.538,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33149,
    "c": 0.18152,
    "h": 273.5
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#221990
secondary
#B7C045
accent
#ED3BE0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #221990

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

Preview Lab → · Contrast checker → · Palette generator →

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