#222080#222080

#222080 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.155 H 274.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#222080
RGBrgb(34, 32, 128)
HSLhsl(241, 60%, 31%)
HSVhsv(241, 75%, 50%)
CMYKcmyk(73.4%, 75%, 0%, 49.8%)
CIE-LABlab(19.77, 34.07, -53.37)
CIE-LCHlch(19.77, 63.31, 302.55°)
OKLaboklab(32.28% 0.0117 -0.1543)
OKLCHoklch(32.28% 0.155 274.3)
XYZxyz(5.0712, 2.9311, 20.7164)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222080 #7E8020
analogous
#204E80 #222080 #522080
triadic
#222080 #802220 #208022
tetradic
#222080 #80204E #7E8020 #208052
square
#222080 #80204E #7E8020 #208052
split-complementary
#222080 #805220 #4E8020
monochromatic
#08081E #15144F #222080 #2F2CB1 #4C49D1

Accessibility & contrast

On white

13.24
#222080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#222080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222080
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222080#FFFFFF#000000##FFFFFF
##2220801.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222080;
/* rgb */ color: rgb(34, 32, 128);
/* oklch */ color: oklch(32.3% 0.155 274.3);
Tailwind
colors: {
  custom: {
    50: '#6d5da6',
    500: '#222080',
    950: '#000000',
  },
}
SCSS
$custom: #222080;
$custom-light: #6d5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#222080",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 241.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3228,
    "c": 0.15476,
    "h": 274.3
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#222080
secondary
#B1B349
accent
#E345E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #222080

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

Preview Lab → · Contrast checker → · Palette generator →

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