#222192#222192

#222192 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.177 H 272.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#222192
RGBrgb(34, 33, 146)
HSLhsl(241, 63%, 35%)
HSVhsv(241, 77%, 57%)
CMYKcmyk(76.7%, 77.4%, 0%, 42.7%)
CIE-LABlab(21.95, 39.72, -61.03)
CIE-LCHlch(21.95, 72.82, 303.06°)
OKLaboklab(34.42% 0.0077 -0.1766)
OKLCHoklch(34.42% 0.177 272.5)
XYZxyz(6.3901, 3.5024, 27.5278)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222192 #919221
analogous
#215892 #222192 #5A2192
triadic
#222192 #922221 #219222
tetradic
#222192 #922158 #919221 #21925A
square
#222192 #922158 #919221 #21925A
split-complementary
#222192 #925A21 #589221
monochromatic
#0B0A2E #161660 #222192 #2E2CC4 #5655D9

Accessibility & contrast

On white

12.35
#222192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#222192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222192
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222192#FFFFFF#000000##FFFFFF
##2221921.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222192;
/* rgb */ color: rgb(34, 33, 146);
/* oklch */ color: oklch(34.4% 0.177 272.5);
Tailwind
colors: {
  custom: {
    50: '#715eb3',
    500: '#222192',
    950: '#000000',
  },
}
SCSS
$custom: #222192;
$custom-light: #715eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#222192",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 240.531,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3442,
    "c": 0.1768,
    "h": 272.5
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222192

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

Preview Lab → · Contrast checker → · Palette generator →

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