#222191#222191

#222191 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.176 H 272.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#222191
RGBrgb(34, 33, 145)
HSLhsl(241, 63%, 35%)
HSVhsv(241, 77%, 57%)
CMYKcmyk(76.6%, 77.2%, 0%, 43.1%)
CIE-LABlab(21.84, 39.38, -60.59)
CIE-LCHlch(21.84, 72.26, 303.02°)
OKLaboklab(34.31% 0.0079 -0.1754)
OKLCHoklch(34.31% 0.176 272.6)
XYZxyz(6.3127, 3.4715, 27.1199)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222191 #909121
analogous
#215891 #222191 #5A2191
triadic
#222191 #912221 #219122
tetradic
#222191 #912158 #909121 #21915A
square
#222191 #912158 #909121 #21915A
split-complementary
#222191 #915A21 #589121
monochromatic
#0B0A2D #16165F #222191 #2E2CC3 #5554D8

Accessibility & contrast

On white

12.39
#222191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#222191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222191
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222191#FFFFFF#000000##FFFFFF
##2221911.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222191;
/* rgb */ color: rgb(34, 33, 145);
/* oklch */ color: oklch(34.3% 0.176 272.6);
Tailwind
colors: {
  custom: {
    50: '#715eb2',
    500: '#222191',
    950: '#000000',
  },
}
SCSS
$custom: #222191;
$custom-light: #715eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#222191",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 240.536,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34307,
    "c": 0.17555,
    "h": 272.6
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#222191
secondary
#BBBC52
accent
#E642E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222191

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

Preview Lab → · Contrast checker → · Palette generator →

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