#222A96#222A96

#222A96 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.173 H 270.9°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#222A96
RGBrgb(34, 42, 150)
HSLhsl(236, 63%, 36%)
HSVhsv(236, 77%, 59%)
CMYKcmyk(77.3%, 72%, 0%, 41.2%)
CIE-LABlab(24.31, 35.73, -59.60)
CIE-LCHlch(24.31, 69.49, 300.94°)
OKLaboklab(36.23% 0.0028 -0.1725)
OKLCHoklch(36.23% 0.173 270.9)
XYZxyz(6.9908, 4.1973, 29.2900)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A96 #968E22
analogous
#226496 #222A96 #542296
triadic
#222A96 #96222A #2A9622
tetradic
#222A96 #962264 #968E22 #229654
square
#222A96 #962264 #968E22 #229654
split-complementary
#222A96 #965422 #649622
monochromatic
#0B0E32 #171C64 #222A96 #2D38C8 #5962D9

Accessibility & contrast

On white

11.42
#222A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#222A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A96
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A96#FFFFFF#000000##FFFFFF
##222A961.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222a96;
/* rgb */ color: rgb(34, 42, 150);
/* oklch */ color: oklch(36.2% 0.173 270.9);
Tailwind
colors: {
  custom: {
    50: '#7164b6',
    500: '#222a96',
    950: '#000000',
  },
}
SCSS
$custom: #222a96;
$custom-light: #7164b6;
$custom-dark: #000000;
JSON
{
  "hex": "#222a96",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 235.862,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3623,
    "c": 0.17255,
    "h": 270.9
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#222A96
secondary
#BEB656
accent
#DB42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222A96

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

Preview Lab → · Contrast checker → · Palette generator →

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