#222584#222584

#222584 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.154 H 273.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#222584
RGBrgb(34, 37, 132)
HSLhsl(238, 59%, 33%)
HSVhsv(238, 74%, 52%)
CMYKcmyk(74.2%, 72%, 0%, 48.2%)
CIE-LABlab(21.31, 32.38, -53.34)
CIE-LCHlch(21.31, 62.40, 301.26°)
OKLaboklab(33.52% 0.008 -0.1543)
OKLCHoklch(33.52% 0.154 273)
XYZxyz(5.4847, 3.3286, 22.1788)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222584 #848122
analogous
#225684 #222584 #502284
triadic
#222584 #842225 #258422
tetradic
#222584 #842256 #848122 #228450
square
#222584 #842256 #848122 #228450
split-complementary
#222584 #845022 #568422
monochromatic
#090A23 #151753 #222584 #2F33B5 #4F53D2

Accessibility & contrast

On white

12.61
#222584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#222584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222584
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222584#FFFFFF#000000##FFFFFF
##2225841.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222584;
/* rgb */ color: rgb(34, 37, 132);
/* oklch */ color: oklch(33.5% 0.154 273.0);
Tailwind
colors: {
  custom: {
    50: '#6d60a9',
    500: '#222584',
    950: '#000000',
  },
}
SCSS
$custom: #222584;
$custom-light: #6d60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#222584",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 238.163,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33516,
    "c": 0.15447,
    "h": 273
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#222584
secondary
#B5B24D
accent
#DD46E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222584

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

Preview Lab → · Contrast checker → · Palette generator →

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