#222A89#222A89

#222A89 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.155 H 271.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#222A89
RGBrgb(34, 42, 137)
HSLhsl(235, 60%, 34%)
HSVhsv(235, 75%, 54%)
CMYKcmyk(75.2%, 69.3%, 0%, 46.3%)
CIE-LABlab(23.00, 30.98, -53.70)
CIE-LCHlch(23.00, 61.99, 299.98°)
OKLaboklab(34.89% 0.0043 -0.1553)
OKLCHoklch(34.89% 0.155 271.6)
XYZxyz(6.0015, 3.8015, 24.0795)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A89 #898122
analogous
#225D89 #222A89 #4D2289
triadic
#222A89 #89222A #2A8922
tetradic
#222A89 #89225D #898122 #22894D
square
#222A89 #89225D #898122 #22894D
split-complementary
#222A89 #894D22 #5D8922
monochromatic
#0A0C27 #161B58 #222A89 #2E39BA #515CD4

Accessibility & contrast

On white

11.93
#222A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#222A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A89
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A89#FFFFFF#000000##FFFFFF
##222A891.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222a89;
/* rgb */ color: rgb(34, 42, 137);
/* oklch */ color: oklch(34.9% 0.155 271.6);
Tailwind
colors: {
  custom: {
    50: '#6e64ac',
    500: '#222a89',
    950: '#000000',
  },
}
SCSS
$custom: #222a89;
$custom-light: #6e64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222a89",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 235.34,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34889,
    "c": 0.15536,
    "h": 271.6
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#222A89
secondary
#B8AF4F
accent
#D744E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222A89

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

Preview Lab → · Contrast checker → · Palette generator →

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