#222494#222494

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

Color values

HEX#222494
RGBrgb(34, 36, 148)
HSLhsl(239, 63%, 36%)
HSVhsv(239, 77%, 58%)
CMYKcmyk(77%, 75.7%, 0%, 42%)
CIE-LABlab(22.79, 38.67, -60.88)
CIE-LCHlch(22.79, 72.12, 302.42°)
OKLaboklab(35.08% 0.006 -0.1762)
OKLCHoklch(35.08% 0.176 271.9)
XYZxyz(6.6341, 3.7392, 28.3833)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222494 #949222
analogous
#225D94 #222494 #592294
triadic
#222494 #942224 #249422
tetradic
#222494 #94225D #949222 #229459
square
#222494 #94225D #949222 #229459
split-complementary
#222494 #945922 #5D9422
monochromatic
#0B0C30 #171862 #222494 #2D30C6 #585AD9

Accessibility & contrast

On white

12.01
#222494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222494
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222494#FFFFFF#000000##FFFFFF
##2224941.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222494;
/* rgb */ color: rgb(34, 36, 148);
/* oklch */ color: oklch(35.1% 0.176 271.9);
Tailwind
colors: {
  custom: {
    50: '#7160b5',
    500: '#222494',
    950: '#000000',
  },
}
SCSS
$custom: #222494;
$custom-light: #7160b5;
$custom-dark: #000000;
JSON
{
  "hex": "#222494",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 238.947,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35078,
    "c": 0.17633,
    "h": 271.9
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#222494
secondary
#BDBB55
accent
#E342E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222494

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

Preview Lab → · Contrast checker → · Palette generator →

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