#222160#222160

#222160 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.109 H 278.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#222160
RGBrgb(34, 33, 96)
HSLhsl(241, 49%, 25%)
HSVhsv(241, 66%, 38%)
CMYKcmyk(64.6%, 65.6%, 0%, 62.4%)
CIE-LABlab(16.85, 21.73, -37.42)
CIE-LCHlch(16.85, 43.27, 300.15°)
OKLaboklab(29.21% 0.0151 -0.1076)
OKLCHoklch(29.21% 0.109 278)
XYZxyz(3.3142, 2.2721, 11.3280)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222160 #5F6021
analogous
#214060 #222160 #412160
triadic
#222160 #602221 #216022
tetradic
#222160 #602140 #5F6021 #216041
square
#222160 #602140 #5F6021 #216041
split-complementary
#222160 #604121 #406021
monochromatic
#080817 #121132 #222160 #32318E #4240BB

Accessibility & contrast

On white

14.44
#222160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#222160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222160
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222160#FFFFFF#000000##FFFFFF
##2221601.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #222160;
/* rgb */ color: rgb(34, 33, 96);
/* oklch */ color: oklch(29.2% 0.109 278.0);
Tailwind
colors: {
  custom: {
    50: '#655c8e',
    500: '#222160',
    950: '#000000',
  },
}
SCSS
$custom: #222160;
$custom-light: #655c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#222160",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 240.952,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29212,
    "c": 0.10869,
    "h": 278
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#222160
secondary
#939449
accent
#D84FD6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #222160

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

Preview Lab → · Contrast checker → · Palette generator →

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