#222199#222199

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

Color values

HEX#222199
RGBrgb(34, 33, 153)
HSLhsl(241, 65%, 36%)
HSVhsv(241, 78%, 60%)
CMYKcmyk(77.8%, 78.4%, 0%, 40%)
CIE-LABlab(22.75, 42.08, -64.03)
CIE-LCHlch(22.75, 76.62, 303.31°)
OKLaboklab(35.21% 0.0063 -0.1853)
OKLCHoklch(35.21% 0.185 271.9)
XYZxyz(6.9514, 3.7269, 30.4838)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222199 #989921
analogous
#215C99 #222199 #5E2199
triadic
#222199 #992221 #219922
tetradic
#222199 #99215C #989921 #21995E
square
#222199 #99215C #989921 #21995E
split-complementary
#222199 #995E21 #5C9921
monochromatic
#0C0B34 #171667 #222199 #2D2CCB #5A59DB

Accessibility & contrast

On white

12.03
#222199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222199
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222199#FFFFFF#000000##FFFFFF
##2221991.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222199;
/* rgb */ color: rgb(34, 33, 153);
/* oklch */ color: oklch(35.2% 0.185 271.9);
Tailwind
colors: {
  custom: {
    50: '#735fb8',
    500: '#222199',
    950: '#000000',
  },
}
SCSS
$custom: #222199;
$custom-light: #735fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#222199",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 240.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35213,
    "c": 0.18546,
    "h": 271.9
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#222199
secondary
#BEBF56
accent
#E840E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #222199

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

Preview Lab → · Contrast checker → · Palette generator →

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