#222179#222179

#222179 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.144 H 274.9°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#222179
RGBrgb(34, 33, 121)
HSLhsl(241, 57%, 30%)
HSVhsv(241, 73%, 47%)
CMYKcmyk(71.9%, 72.7%, 0%, 52.5%)
CIE-LABlab(19.26, 30.95, -49.75)
CIE-LCHlch(19.26, 58.59, 301.88°)
OKLaboklab(31.7% 0.0123 -0.1438)
OKLCHoklch(31.7% 0.144 274.9)
XYZxyz(4.6536, 2.8078, 18.3822)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222179 #787921
analogous
#214C79 #222179 #4E2179
triadic
#222179 #792221 #217922
tetradic
#222179 #79214C #787921 #21794E
square
#222179 #79214C #787921 #21794E
split-complementary
#222179 #794E21 #4C7921
monochromatic
#070719 #141449 #222179 #302EA9 #4947CD

Accessibility & contrast

On white

13.45
#222179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#222179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222179
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222179#FFFFFF#000000##FFFFFF
##2221791.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222179;
/* rgb */ color: rgb(34, 33, 121);
/* oklch */ color: oklch(31.7% 0.144 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b5da1',
    500: '#222179',
    950: '#000000',
  },
}
SCSS
$custom: #222179;
$custom-light: #6b5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#222179",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 240.682,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31695,
    "c": 0.14429,
    "h": 274.9
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#222179
secondary
#ABAC4A
accent
#E047DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #222179

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

Preview Lab → · Contrast checker → · Palette generator →

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