#222489#222489

#222489 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.162 H 272.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#222489
RGBrgb(34, 36, 137)
HSLhsl(239, 60%, 34%)
HSVhsv(239, 75%, 54%)
CMYKcmyk(75.2%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.61, 34.80, -56.00)
CIE-LCHlch(21.61, 65.93, 301.86°)
OKLaboklab(33.88% 0.0079 -0.162)
OKLCHoklch(33.88% 0.162 272.8)
XYZxyz(5.8044, 3.4074, 24.0138)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222489 #898722
analogous
#225789 #222489 #532289
triadic
#222489 #892224 #248922
tetradic
#222489 #892257 #898722 #228953
square
#222489 #892257 #898722 #228953
split-complementary
#222489 #895322 #578922
monochromatic
#0A0A27 #161758 #222489 #2E31BA #5154D4

Accessibility & contrast

On white

12.49
#222489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#222489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222489
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222489#FFFFFF#000000##FFFFFF
##2224891.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222489;
/* rgb */ color: rgb(34, 36, 137);
/* oklch */ color: oklch(33.9% 0.162 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f60ac',
    500: '#222489',
    950: '#000000',
  },
}
SCSS
$custom: #222489;
$custom-light: #6f60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222489",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 238.835,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33882,
    "c": 0.1622,
    "h": 272.8
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#222489
secondary
#B8B54F
accent
#E044E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222489

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

Preview Lab → · Contrast checker → · Palette generator →

#222489 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva