#222492#222492

#222492 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.174 H 272.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#222492
RGBrgb(34, 36, 146)
HSLhsl(239, 62%, 35%)
HSVhsv(239, 77%, 57%)
CMYKcmyk(76.7%, 75.3%, 0%, 42.7%)
CIE-LABlab(22.57, 37.97, -60.01)
CIE-LCHlch(22.57, 71.01, 302.33°)
OKLaboklab(34.86% 0.0063 -0.1737)
OKLCHoklch(34.86% 0.174 272.1)
XYZxyz(6.4771, 3.6765, 27.5568)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222492 #929022
analogous
#225C92 #222492 #582292
triadic
#222492 #922224 #249222
tetradic
#222492 #92225C #929022 #229258
square
#222492 #92225C #929022 #229258
split-complementary
#222492 #925822 #5C9222
monochromatic
#0B0C2F #161860 #222492 #2E30C4 #5759D8

Accessibility & contrast

On white

12.10
#222492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#222492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222492
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222492#FFFFFF#000000##FFFFFF
##2224921.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222492;
/* rgb */ color: rgb(34, 36, 146);
/* oklch */ color: oklch(34.9% 0.174 272.1);
Tailwind
colors: {
  custom: {
    50: '#7160b3',
    500: '#222492',
    950: '#000000',
  },
}
SCSS
$custom: #222492;
$custom-light: #7160b3;
$custom-dark: #000000;
JSON
{
  "hex": "#222492",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 238.929,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.1738,
    "h": 272.1
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#222492
secondary
#BCBA54
accent
#E243E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222492

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

Preview Lab → · Contrast checker → · Palette generator →

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