#222182#222182

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

Color values

HEX#222182
RGBrgb(34, 33, 130)
HSLhsl(241, 60%, 32%)
HSVhsv(241, 75%, 51%)
CMYKcmyk(73.8%, 74.6%, 0%, 49%)
CIE-LABlab(20.20, 34.16, -53.92)
CIE-LCHlch(20.20, 63.83, 302.36°)
OKLaboklab(32.65% 0.0107 -0.1559)
OKLCHoklch(32.65% 0.156 273.9)
XYZxyz(5.2315, 3.0390, 21.4256)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222182 #818221
analogous
#215082 #222182 #532182
triadic
#222182 #822221 #218222
tetradic
#222182 #822150 #818221 #218253
square
#222182 #822150 #818221 #218253
split-complementary
#222182 #825321 #508221
monochromatic
#080820 #151551 #222182 #2F2DB3 #4D4CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##222182#FFFFFF#000000##FFFFFF
##2221821.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)
#003585
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222182;
/* rgb */ color: rgb(34, 33, 130);
/* oklch */ color: oklch(32.7% 0.156 273.9);
Tailwind
colors: {
  custom: {
    50: '#6d5da7',
    500: '#222182',
    950: '#000000',
  },
}
SCSS
$custom: #222182;
$custom-light: #6d5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#222182",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 240.619,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32653,
    "c": 0.1563,
    "h": 273.9
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#222182
secondary
#B3B44A
accent
#E345E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222182

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

Preview Lab → · Contrast checker → · Palette generator →

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