#222592#222592

#222592 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.173 H 271.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#222592
RGBrgb(34, 37, 146)
HSLhsl(238, 62%, 35%)
HSVhsv(238, 77%, 57%)
CMYKcmyk(76.7%, 74.7%, 0%, 42.7%)
CIE-LABlab(22.79, 37.37, -59.65)
CIE-LCHlch(22.79, 70.39, 302.07°)
OKLaboklab(35.01% 0.0059 -0.1727)
OKLCHoklch(35.01% 0.173 271.9)
XYZxyz(6.5078, 3.7378, 27.5671)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222592 #928F22
analogous
#225D92 #222592 #572292
triadic
#222592 #922225 #259222
tetradic
#222592 #92225D #928F22 #229257
square
#222592 #92225D #928F22 #229257
split-complementary
#222592 #925722 #5D9222
monochromatic
#0B0C2F #161860 #222592 #2E32C4 #575AD8

Accessibility & contrast

On white

12.02
#222592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#222592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222592
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222592#FFFFFF#000000##FFFFFF
##2225921.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222592;
/* rgb */ color: rgb(34, 37, 146);
/* oklch */ color: oklch(35.0% 0.173 271.9);
Tailwind
colors: {
  custom: {
    50: '#7161b3',
    500: '#222592',
    950: '#000000',
  },
}
SCSS
$custom: #222592;
$custom-light: #7161b3;
$custom-dark: #000000;
JSON
{
  "hex": "#222592",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 238.393,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3501,
    "c": 0.17276,
    "h": 271.9
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#222592
secondary
#BCB954
accent
#E143E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222592

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

Preview Lab → · Contrast checker → · Palette generator →

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