#222084#222084

#222084 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.160 H 273.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#222084
RGBrgb(34, 32, 132)
HSLhsl(241, 61%, 32%)
HSVhsv(241, 76%, 52%)
CMYKcmyk(74.2%, 75.8%, 0%, 48.2%)
CIE-LABlab(20.20, 35.47, -55.18)
CIE-LCHlch(20.20, 65.60, 302.74°)
OKLaboklab(32.72% 0.0109 -0.1596)
OKLCHoklch(32.72% 0.16 273.9)
XYZxyz(5.3397, 3.0385, 22.1304)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222084 #828420
analogous
#205084 #222084 #542084
triadic
#222084 #842220 #208422
tetradic
#222084 #842050 #828420 #208454
square
#222084 #842050 #828420 #208454
split-complementary
#222084 #845420 #508420
monochromatic
#090821 #151453 #222084 #2F2CB5 #4E4BD3

Accessibility & contrast

On white

13.06
#222084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#222084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222084
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222084#FFFFFF#000000##FFFFFF
##2220841.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222084;
/* rgb */ color: rgb(34, 32, 132);
/* oklch */ color: oklch(32.7% 0.160 273.9);
Tailwind
colors: {
  custom: {
    50: '#6e5da9',
    500: '#222084',
    950: '#000000',
  },
}
SCSS
$custom: #222084;
$custom-light: #6e5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#222084",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 241.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32717,
    "c": 0.15998,
    "h": 273.9
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#222084
secondary
#B4B64A
accent
#E444E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222084

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

Preview Lab → · Contrast checker → · Palette generator →

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