#222091#222091

#222091 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.177 H 272.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#222091
RGBrgb(34, 32, 145)
HSLhsl(241, 64%, 35%)
HSVhsv(241, 78%, 57%)
CMYKcmyk(76.6%, 77.9%, 0%, 43.1%)
CIE-LABlab(21.64, 39.95, -60.92)
CIE-LCHlch(21.64, 72.85, 303.25°)
OKLaboklab(34.17% 0.0083 -0.1763)
OKLCHoklch(34.17% 0.177 272.7)
XYZxyz(6.2853, 3.4168, 27.1108)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222091 #8F9120
analogous
#205791 #222091 #5B2091
triadic
#222091 #912220 #209122
tetradic
#222091 #912057 #8F9120 #20915B
square
#222091 #912057 #8F9120 #20915B
split-complementary
#222091 #915B20 #579120
monochromatic
#0A0A2D #16155F #222091 #2E2BC3 #5552D9

Accessibility & contrast

On white

12.47
#222091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#222091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222091
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222091#FFFFFF#000000##FFFFFF
##2220911.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002E8F
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222091;
/* rgb */ color: rgb(34, 32, 145);
/* oklch */ color: oklch(34.2% 0.177 272.7);
Tailwind
colors: {
  custom: {
    50: '#715db2',
    500: '#222091',
    950: '#000000',
  },
}
SCSS
$custom: #222091;
$custom-light: #715db2;
$custom-dark: #000000;
JSON
{
  "hex": "#222091",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 241.062,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34166,
    "c": 0.17652,
    "h": 272.7
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#222091
secondary
#BABC51
accent
#E741E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222091

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

Preview Lab → · Contrast checker → · Palette generator →

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