#222B9A#222B9A

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

Color values

HEX#222B9A
RGBrgb(34, 43, 154)
HSLhsl(236, 64%, 37%)
HSVhsv(236, 78%, 60%)
CMYKcmyk(77.9%, 72.1%, 0%, 39.6%)
CIE-LABlab(24.95, 36.54, -61.00)
CIE-LCHlch(24.95, 71.11, 300.92°)
OKLaboklab(36.81% 0.0018 -0.1766)
OKLCHoklch(36.81% 0.177 270.6)
XYZxyz(7.3543, 4.4001, 31.0273)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B9A #9A9122
analogous
#22679A #222B9A #55229A
triadic
#222B9A #9A222B #2B9A22
tetradic
#222B9A #9A2267 #9A9122 #229A55
square
#222B9A #9A2267 #9A9122 #229A55
split-complementary
#222B9A #9A5522 #679A22
monochromatic
#0C0F36 #171D68 #222B9A #2D39CC #5B65DB

Accessibility & contrast

On white

11.17
#222B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#222B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B9A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B9A#FFFFFF#000000##FFFFFF
##222B9A1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222b9a;
/* rgb */ color: rgb(34, 43, 154);
/* oklch */ color: oklch(36.8% 0.177 270.6);
Tailwind
colors: {
  custom: {
    50: '#7265b9',
    500: '#222b9a',
    950: '#000000',
  },
}
SCSS
$custom: #222b9a;
$custom-light: #7265b9;
$custom-dark: #000000;
JSON
{
  "hex": "#222b9a",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 235.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36814,
    "c": 0.17663,
    "h": 270.6
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#222B9A
secondary
#BFB858
accent
#DA41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #222B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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