#222B96#222B96

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

Color values

HEX#222B96
RGBrgb(34, 43, 150)
HSLhsl(235, 63%, 36%)
HSVhsv(235, 77%, 59%)
CMYKcmyk(77.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(24.54, 35.10, -59.22)
CIE-LCHlch(24.54, 68.84, 300.65°)
OKLaboklab(36.39% 0.0023 -0.1714)
OKLCHoklch(36.39% 0.171 270.8)
XYZxyz(7.0267, 4.2691, 29.3019)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B96 #968D22
analogous
#226596 #222B96 #532296
triadic
#222B96 #96222B #2B9622
tetradic
#222B96 #962265 #968D22 #229653
square
#222B96 #962265 #968D22 #229653
split-complementary
#222B96 #965322 #659622
monochromatic
#0B0E32 #171D64 #222B96 #2D39C8 #5963D9

Accessibility & contrast

On white

11.33
#222B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#222B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B96
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B96#FFFFFF#000000##FFFFFF
##222B961.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222b96;
/* rgb */ color: rgb(34, 43, 150);
/* oklch */ color: oklch(36.4% 0.171 270.8);
Tailwind
colors: {
  custom: {
    50: '#7165b6',
    500: '#222b96',
    950: '#000000',
  },
}
SCSS
$custom: #222b96;
$custom-light: #7165b6;
$custom-dark: #000000;
JSON
{
  "hex": "#222b96",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 235.345,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36395,
    "c": 0.17145,
    "h": 270.8
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222B96

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

Preview Lab → · Contrast checker → · Palette generator →

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