#221889#221889

#221889 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.174 H 274.4°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#221889
RGBrgb(34, 24, 137)
HSLhsl(245, 70%, 32%)
HSVhsv(245, 82%, 54%)
CMYKcmyk(75.2%, 82.5%, 0%, 46.3%)
CIE-LABlab(19.22, 41.59, -59.94)
CIE-LCHlch(19.22, 72.96, 304.75°)
OKLaboklab(32.2% 0.0134 -0.1733)
OKLCHoklch(32.2% 0.174 274.4)
XYZxyz(5.5002, 2.7989, 23.9124)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221889 #7F8918
analogous
#184789 #221889 #5B1889
triadic
#221889 #892218 #188922
tetradic
#221889 #891847 #7F8918 #18895B
square
#221889 #891847 #7F8918 #18895B
split-complementary
#221889 #895B18 #478918
monochromatic
#080621 #150F55 #221889 #2F21BD #4C3EDD

Accessibility & contrast

On white

13.46
#221889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#221889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221889
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221889#FFFFFF#000000##FFFFFF
##2218891.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #221889;
/* rgb */ color: rgb(34, 24, 137);
/* oklch */ color: oklch(32.2% 0.174 274.4);
Tailwind
colors: {
  custom: {
    50: '#7058ad',
    500: '#221889',
    950: '#000000',
  },
}
SCSS
$custom: #221889;
$custom-light: #7058ad;
$custom-dark: #000000;
JSON
{
  "hex": "#221889",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 245.31,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32198,
    "c": 0.17387,
    "h": 274.4
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#221889
secondary
#B2BD40
accent
#ED3BDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #221889

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

Preview Lab → · Contrast checker → · Palette generator →

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