#222392#222392

#222392 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.175 H 272.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#222392
RGBrgb(34, 35, 146)
HSLhsl(239, 62%, 35%)
HSVhsv(239, 77%, 57%)
CMYKcmyk(76.7%, 76%, 0%, 42.7%)
CIE-LABlab(22.36, 38.56, -60.35)
CIE-LCHlch(22.36, 71.62, 302.58°)
OKLaboklab(34.71% 0.0068 -0.1747)
OKLCHoklch(34.71% 0.175 272.2)
XYZxyz(6.4473, 3.6168, 27.5469)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222392 #929122
analogous
#225B92 #222392 #592292
triadic
#222392 #922223 #239222
tetradic
#222392 #92225B #929122 #229259
square
#222392 #92225B #929122 #229259
split-complementary
#222392 #925922 #5B9222
monochromatic
#0B0B2F #161760 #222392 #2E2FC4 #5758D8

Accessibility & contrast

On white

12.19
#222392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#222392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222392
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222392#FFFFFF#000000##FFFFFF
##2223921.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222392;
/* rgb */ color: rgb(34, 35, 146);
/* oklch */ color: oklch(34.7% 0.175 272.2);
Tailwind
colors: {
  custom: {
    50: '#715fb3',
    500: '#222392',
    950: '#000000',
  },
}
SCSS
$custom: #222392;
$custom-light: #715fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#222392",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 239.464,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34709,
    "c": 0.17481,
    "h": 272.2
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#222392
secondary
#BCBB54
accent
#E443E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222392

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

Preview Lab → · Contrast checker → · Palette generator →

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