#222B9E#222B9E

#222B9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.182 H 270.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#222B9E
RGBrgb(34, 43, 158)
HSLhsl(236, 65%, 38%)
HSVhsv(236, 78%, 62%)
CMYKcmyk(78.5%, 72.8%, 0%, 38%)
CIE-LABlab(25.37, 37.97, -62.76)
CIE-LCHlch(25.37, 73.35, 301.17°)
OKLaboklab(37.24% 0.0012 -0.1817)
OKLCHoklch(37.24% 0.182 270.4)
XYZxyz(7.6930, 4.5356, 32.8111)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B9E #9E9522
analogous
#22699E #222B9E #57229E
triadic
#222B9E #9E222B #2B9E22
tetradic
#222B9E #9E2269 #9E9522 #229E57
square
#222B9E #9E2269 #9E9522 #229E57
split-complementary
#222B9E #9E5722 #699E22
monochromatic
#0C1039 #171D6C #222B9E #2D39D0 #5E67DC

Accessibility & contrast

On white

11.01
#222B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#222B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B9E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B9E#FFFFFF#000000##FFFFFF
##222B9E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222b9e;
/* rgb */ color: rgb(34, 43, 158);
/* oklch */ color: oklch(37.2% 0.182 270.4);
Tailwind
colors: {
  custom: {
    50: '#7365bc',
    500: '#222b9e',
    950: '#000000',
  },
}
SCSS
$custom: #222b9e;
$custom-light: #7365bc;
$custom-dark: #000000;
JSON
{
  "hex": "#222b9e",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 235.645,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37237,
    "c": 0.18174,
    "h": 270.4
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#222B9E
secondary
#C1BA5B
accent
#DB40E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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