#222D89#222D89

#222D89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.152 H 270.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#222D89
RGBrgb(34, 45, 137)
HSLhsl(234, 60%, 34%)
HSVhsv(234, 75%, 54%)
CMYKcmyk(75.2%, 67.2%, 0%, 46.3%)
CIE-LABlab(23.75, 29.00, -52.48)
CIE-LCHlch(23.75, 59.96, 298.92°)
OKLaboklab(35.43% 0.0024 -0.1517)
OKLCHoklch(35.43% 0.152 270.9)
XYZxyz(6.1119, 4.0224, 24.1163)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D89 #897E22
analogous
#226089 #222D89 #4A2289
triadic
#222D89 #89222D #2D8922
tetradic
#222D89 #892260 #897E22 #22894A
square
#222D89 #892260 #897E22 #22894A
split-complementary
#222D89 #894A22 #608922
monochromatic
#0A0D27 #161D58 #222D89 #2E3DBA #515FD4

Accessibility & contrast

On white

11.64
#222D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#222D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D89
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D89#FFFFFF#000000##FFFFFF
##222D891.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222d89;
/* rgb */ color: rgb(34, 45, 137);
/* oklch */ color: oklch(35.4% 0.152 270.9);
Tailwind
colors: {
  custom: {
    50: '#6e66ac',
    500: '#222d89',
    950: '#000000',
  },
}
SCSS
$custom: #222d89;
$custom-light: #6e66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222d89",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 233.592,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35429,
    "c": 0.15175,
    "h": 270.9
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#222D89
secondary
#B8AC4F
accent
#D244E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222D89

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

Preview Lab → · Contrast checker → · Palette generator →

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