#222B99#222B99

#222B99 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.175 H 270.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#222B99
RGBrgb(34, 43, 153)
HSLhsl(235, 64%, 37%)
HSVhsv(235, 78%, 60%)
CMYKcmyk(77.8%, 71.9%, 0%, 40%)
CIE-LABlab(24.85, 36.18, -60.56)
CIE-LCHlch(24.85, 70.55, 300.86°)
OKLaboklab(36.71% 0.0019 -0.1753)
OKLCHoklch(36.71% 0.175 270.6)
XYZxyz(7.2714, 4.3669, 30.5905)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B99 #999022
analogous
#226799 #222B99 #552299
triadic
#222B99 #99222B #2B9922
tetradic
#222B99 #992267 #999022 #229955
square
#222B99 #992267 #999022 #229955
split-complementary
#222B99 #995522 #679922
monochromatic
#0C0F35 #171D67 #222B99 #2D39CB #5B65DB

Accessibility & contrast

On white

11.21
#222B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222B99
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B99#FFFFFF#000000##FFFFFF
##222B991.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222b99;
/* rgb */ color: rgb(34, 43, 153);
/* oklch */ color: oklch(36.7% 0.175 270.6);
Tailwind
colors: {
  custom: {
    50: '#7265b8',
    500: '#222b99',
    950: '#000000',
  },
}
SCSS
$custom: #222b99;
$custom-light: #7265b8;
$custom-dark: #000000;
JSON
{
  "hex": "#222b99",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 235.462,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36709,
    "c": 0.17534,
    "h": 270.6
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#222B99
secondary
#BFB758
accent
#DA41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222B99

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

Preview Lab → · Contrast checker → · Palette generator →

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