#222C96#222C96

#222C96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.170 H 270.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#222C96
RGBrgb(34, 44, 150)
HSLhsl(235, 63%, 36%)
HSVhsv(235, 77%, 59%)
CMYKcmyk(77.3%, 70.7%, 0%, 41.2%)
CIE-LABlab(24.77, 34.47, -58.84)
CIE-LCHlch(24.77, 68.19, 300.36°)
OKLaboklab(36.56% 0.0018 -0.1703)
OKLCHoklch(36.56% 0.17 270.6)
XYZxyz(7.0635, 4.3427, 29.3142)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C96 #968C22
analogous
#226696 #222C96 #522296
triadic
#222C96 #96222C #2C9622
tetradic
#222C96 #962266 #968C22 #229652
square
#222C96 #962266 #968C22 #229652
split-complementary
#222C96 #965222 #669622
monochromatic
#0B0F32 #171D64 #222C96 #2D3BC8 #5964D9

Accessibility & contrast

On white

11.24
#222C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#222C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C96
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C96#FFFFFF#000000##FFFFFF
##222C961.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222c96;
/* rgb */ color: rgb(34, 44, 150);
/* oklch */ color: oklch(36.6% 0.170 270.6);
Tailwind
colors: {
  custom: {
    50: '#7165b6',
    500: '#222c96',
    950: '#000000',
  },
}
SCSS
$custom: #222c96;
$custom-light: #7165b6;
$custom-dark: #000000;
JSON
{
  "hex": "#222c96",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 234.828,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36562,
    "c": 0.17033,
    "h": 270.6
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#222C96
secondary
#BEB556
accent
#D842E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222C96

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

Preview Lab → · Contrast checker → · Palette generator →

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