#222B9B#222B9B

#222B9B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.178 H 270.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#222B9B
RGBrgb(34, 43, 155)
HSLhsl(236, 64%, 37%)
HSVhsv(236, 78%, 61%)
CMYKcmyk(78.1%, 72.3%, 0%, 39.2%)
CIE-LABlab(25.06, 36.90, -61.44)
CIE-LCHlch(25.06, 71.67, 300.99°)
OKLaboklab(36.92% 0.0016 -0.1779)
OKLCHoklch(36.92% 0.178 270.5)
XYZxyz(7.4379, 4.4336, 31.4678)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B9B #9B9222
analogous
#22689B #222B9B #56229B
triadic
#222B9B #9B222B #2B9B22
tetradic
#222B9B #9B2268 #9B9222 #229B56
square
#222B9B #9B2268 #9B9222 #229B56
split-complementary
#222B9B #9B5622 #689B22
monochromatic
#0C0F37 #171D69 #222B9B #2D39CD #5C66DB

Accessibility & contrast

On white

11.13
#222B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#222B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B9B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B9B#FFFFFF#000000##FFFFFF
##222B9B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222b9b;
/* rgb */ color: rgb(34, 43, 155);
/* oklch */ color: oklch(36.9% 0.178 270.5);
Tailwind
colors: {
  custom: {
    50: '#7265ba',
    500: '#222b9b',
    950: '#000000',
  },
}
SCSS
$custom: #222b9b;
$custom-light: #7265ba;
$custom-dark: #000000;
JSON
{
  "hex": "#222b9b",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 235.537,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36919,
    "c": 0.17791,
    "h": 270.5
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#222B9B
secondary
#C0B859
accent
#DB41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #222B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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