#222B91#222B91

#222B91 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.165 H 271.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#222B91
RGBrgb(34, 43, 145)
HSLhsl(235, 62%, 35%)
HSVhsv(235, 77%, 57%)
CMYKcmyk(76.6%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.04, 33.28, -56.97)
CIE-LCHlch(24.04, 65.98, 300.29°)
OKLaboklab(35.88% 0.0029 -0.1649)
OKLCHoklch(35.88% 0.165 271)
XYZxyz(6.6327, 4.1115, 27.2266)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B91 #918822
analogous
#226391 #222B91 #502291
triadic
#222B91 #91222B #2B9122
tetradic
#222B91 #912263 #918822 #229150
square
#222B91 #912263 #918822 #229150
split-complementary
#222B91 #915022 #639122
monochromatic
#0B0E2E #161C5F #222B91 #2E3AC3 #5661D7

Accessibility & contrast

On white

11.52
#222B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#222B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B91
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B91#FFFFFF#000000##FFFFFF
##222B911.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222b91;
/* rgb */ color: rgb(34, 43, 145);
/* oklch */ color: oklch(35.9% 0.165 271.0);
Tailwind
colors: {
  custom: {
    50: '#7065b2',
    500: '#222b91',
    950: '#000000',
  },
}
SCSS
$custom: #222b91;
$custom-light: #7065b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222b91",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 235.135,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35877,
    "c": 0.16488,
    "h": 271
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#222B91
secondary
#BBB353
accent
#D843E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222B91

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

Preview Lab → · Contrast checker → · Palette generator →

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