#222A99#222A99

#222A99 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.176 H 270.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#222A99
RGBrgb(34, 42, 153)
HSLhsl(236, 64%, 37%)
HSVhsv(236, 78%, 60%)
CMYKcmyk(77.8%, 72.5%, 0%, 40%)
CIE-LABlab(24.62, 36.80, -60.93)
CIE-LCHlch(24.62, 71.18, 301.13°)
OKLaboklab(36.55% 0.0024 -0.1764)
OKLCHoklch(36.55% 0.176 270.8)
XYZxyz(7.2355, 4.2951, 30.5785)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A99 #999122
analogous
#226699 #222A99 #562299
triadic
#222A99 #99222A #2A9922
tetradic
#222A99 #992266 #999122 #229956
square
#222A99 #992266 #999122 #229956
split-complementary
#222A99 #995622 #669922
monochromatic
#0C0F35 #171C67 #222A99 #2D38CB #5B63DB

Accessibility & contrast

On white

11.30
#222A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#222A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A99
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A99#FFFFFF#000000##FFFFFF
##222A991.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222a99;
/* rgb */ color: rgb(34, 42, 153);
/* oklch */ color: oklch(36.5% 0.176 270.8);
Tailwind
colors: {
  custom: {
    50: '#7264b8',
    500: '#222a99',
    950: '#000000',
  },
}
SCSS
$custom: #222a99;
$custom-light: #7264b8;
$custom-dark: #000000;
JSON
{
  "hex": "#222a99",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 235.966,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36547,
    "c": 0.17643,
    "h": 270.8
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#222A99
secondary
#BFB858
accent
#DC41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222A99

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

Preview Lab → · Contrast checker → · Palette generator →

#222A99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva