#222488#222488

#222488 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.161 H 272.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#222488
RGBrgb(34, 36, 136)
HSLhsl(239, 60%, 33%)
HSVhsv(239, 75%, 53%)
CMYKcmyk(75%, 73.5%, 0%, 46.7%)
CIE-LABlab(21.50, 34.44, -55.54)
CIE-LCHlch(21.50, 65.36, 301.80°)
OKLaboklab(33.78% 0.008 -0.1607)
OKLCHoklch(33.78% 0.161 272.9)
XYZxyz(5.7330, 3.3788, 23.6378)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222488 #888622
analogous
#225788 #222488 #532288
triadic
#222488 #882224 #248822
tetradic
#222488 #882257 #888622 #228853
square
#222488 #882257 #888622 #228853
split-complementary
#222488 #885322 #578822
monochromatic
#0A0A26 #161757 #222488 #2E31B9 #5153D3

Accessibility & contrast

On white

12.53
#222488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222488
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222488#FFFFFF#000000##FFFFFF
##2224881.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222488;
/* rgb */ color: rgb(34, 36, 136);
/* oklch */ color: oklch(33.8% 0.161 272.9);
Tailwind
colors: {
  custom: {
    50: '#6e60ac',
    500: '#222488',
    950: '#000000',
  },
}
SCSS
$custom: #222488;
$custom-light: #6e60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222488",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 238.824,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33775,
    "c": 0.16089,
    "h": 272.9
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#222488
secondary
#B7B54F
accent
#E045E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222488

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

Preview Lab → · Contrast checker → · Palette generator →

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