#222980#222980

#222980 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.144 H 272.3°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#222980
RGBrgb(34, 41, 128)
HSLhsl(236, 58%, 32%)
HSVhsv(236, 73%, 50%)
CMYKcmyk(73.4%, 68%, 0%, 49.8%)
CIE-LABlab(21.89, 28.29, -49.88)
CIE-LCHlch(21.89, 57.34, 299.56°)
OKLaboklab(33.81% 0.0059 -0.1441)
OKLCHoklch(33.81% 0.144 272.3)
XYZxyz(5.3476, 3.4839, 20.8085)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222980 #807922
analogous
#225880 #222980 #4A2280
triadic
#222980 #802229 #298022
tetradic
#222980 #802258 #807922 #22804A
square
#222980 #802258 #807922 #22804A
split-complementary
#222980 #804A22 #588022
monochromatic
#080A1F #151A50 #222980 #2F38B0 #4D56D0

Accessibility & contrast

On white

12.38
#222980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#222980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222980
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222980#FFFFFF#000000##FFFFFF
##2229801.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222980;
/* rgb */ color: rgb(34, 41, 128);
/* oklch */ color: oklch(33.8% 0.144 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c63a6',
    500: '#222980',
    950: '#000000',
  },
}
SCSS
$custom: #222980;
$custom-light: #6c63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#222980",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 235.532,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33809,
    "c": 0.14426,
    "h": 272.3
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#222980
secondary
#B2AB4B
accent
#D647E1
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #222980

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

Preview Lab → · Contrast checker → · Palette generator →

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