#222499#222499

#222499 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.183 H 271.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#222499
RGBrgb(34, 36, 153)
HSLhsl(239, 64%, 37%)
HSVhsv(239, 78%, 60%)
CMYKcmyk(77.8%, 76.5%, 0%, 40%)
CIE-LABlab(23.34, 40.39, -63.05)
CIE-LCHlch(23.34, 74.88, 302.64°)
OKLaboklab(35.63% 0.0051 -0.1825)
OKLCHoklch(35.63% 0.183 271.6)
XYZxyz(7.0384, 3.9010, 30.5128)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222499 #999722
analogous
#226099 #222499 #5C2299
triadic
#222499 #992224 #249922
tetradic
#222499 #992260 #999722 #22995C
square
#222499 #992260 #999722 #22995C
split-complementary
#222499 #995C22 #609922
monochromatic
#0C0C35 #171867 #222499 #2D30CB #5B5DDB

Accessibility & contrast

On white

11.80
#222499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#222499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222499
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222499#FFFFFF#000000##FFFFFF
##2224991.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222499;
/* rgb */ color: rgb(34, 36, 153);
/* oklch */ color: oklch(35.6% 0.183 271.6);
Tailwind
colors: {
  custom: {
    50: '#7360b8',
    500: '#222499',
    950: '#000000',
  },
}
SCSS
$custom: #222499;
$custom-light: #7360b8;
$custom-dark: #000000;
JSON
{
  "hex": "#222499",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 238.992,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.1826,
    "h": 271.6
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#222499
secondary
#BFBD58
accent
#E441E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #222499

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

Preview Lab → · Contrast checker → · Palette generator →

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