#222089#222089

#222089 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.166 H 273.4°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#222089
RGBrgb(34, 32, 137)
HSLhsl(241, 62%, 33%)
HSVhsv(241, 77%, 54%)
CMYKcmyk(75.2%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.75, 37.21, -57.42)
CIE-LCHlch(20.75, 68.42, 302.95°)
OKLaboklab(33.27% 0.0099 -0.1661)
OKLCHoklch(33.27% 0.166 273.4)
XYZxyz(5.6900, 3.1787, 23.9757)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222089 #878920
analogous
#205289 #222089 #562089
triadic
#222089 #892220 #208922
tetradic
#222089 #892052 #878920 #208956
square
#222089 #892052 #878920 #208956
split-complementary
#222089 #895620 #528920
monochromatic
#090926 #161457 #222089 #2E2CBB #504ED6

Accessibility & contrast

On white

12.84
#222089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#222089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222089
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222089#FFFFFF#000000##FFFFFF
##2220891.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #222089;
/* rgb */ color: rgb(34, 32, 137);
/* oklch */ color: oklch(33.3% 0.166 273.4);
Tailwind
colors: {
  custom: {
    50: '#6f5dad',
    500: '#222089',
    950: '#000000',
  },
}
SCSS
$custom: #222089;
$custom-light: #6f5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#222089",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 241.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.16642,
    "h": 273.4
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#222089
secondary
#B7B94C
accent
#E543E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #222089

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

Preview Lab → · Contrast checker → · Palette generator →

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