#222B89#222B89

#222B89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.154 H 271.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#222B89
RGBrgb(34, 43, 137)
HSLhsl(235, 60%, 34%)
HSVhsv(235, 75%, 54%)
CMYKcmyk(75.2%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.25, 30.32, -53.30)
CIE-LCHlch(23.25, 61.32, 299.64°)
OKLaboklab(35.07% 0.0037 -0.1541)
OKLCHoklch(35.07% 0.154 271.4)
XYZxyz(6.0374, 3.8734, 24.0915)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B89 #898022
analogous
#225E89 #222B89 #4C2289
triadic
#222B89 #89222B #2B8922
tetradic
#222B89 #89225E #898022 #22894C
square
#222B89 #89225E #898022 #22894C
split-complementary
#222B89 #894C22 #5E8922
monochromatic
#0A0C27 #161C58 #222B89 #2E3ABA #515DD4

Accessibility & contrast

On white

11.83
#222B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#222B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B89
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B89#FFFFFF#000000##FFFFFF
##222B891.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222b89;
/* rgb */ color: rgb(34, 43, 137);
/* oklch */ color: oklch(35.1% 0.154 271.4);
Tailwind
colors: {
  custom: {
    50: '#6e64ac',
    500: '#222b89',
    950: '#000000',
  },
}
SCSS
$custom: #222b89;
$custom-light: #6e64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222b89",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 234.757,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35066,
    "c": 0.15416,
    "h": 271.4
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#222B89
secondary
#B8AE4F
accent
#D544E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222B89

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

Preview Lab → · Contrast checker → · Palette generator →

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