#222099#222099

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

Color values

HEX#222099
RGBrgb(34, 32, 153)
HSLhsl(241, 65%, 36%)
HSVhsv(241, 79%, 60%)
CMYKcmyk(77.8%, 79.1%, 0%, 40%)
CIE-LABlab(22.56, 42.63, -64.35)
CIE-LCHlch(22.56, 77.19, 303.52°)
OKLaboklab(35.08% 0.0066 -0.1863)
OKLCHoklch(35.08% 0.186 272)
XYZxyz(6.9240, 3.6723, 30.4747)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222099 #979920
analogous
#205B99 #222099 #5F2099
triadic
#222099 #992220 #209922
tetradic
#222099 #99205B #979920 #20995F
square
#222099 #99205B #979920 #20995F
split-complementary
#222099 #995F20 #5B9920
monochromatic
#0C0B34 #171566 #222099 #2D2BCC #5A57DC

Accessibility & contrast

On white

12.11
#222099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#222099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222099
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222099#FFFFFF#000000##FFFFFF
##2220991.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.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: #222099;
/* rgb */ color: rgb(34, 32, 153);
/* oklch */ color: oklch(35.1% 0.186 272.0);
Tailwind
colors: {
  custom: {
    50: '#735eb8',
    500: '#222099',
    950: '#000000',
  },
}
SCSS
$custom: #222099;
$custom-light: #735eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#222099",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 240.992,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35079,
    "c": 0.18638,
    "h": 272
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#222099
secondary
#BEC055
accent
#E83FE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #222099

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

Preview Lab → · Contrast checker → · Palette generator →

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