#222176#222176

#222176 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.140 H 275.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#222176
RGBrgb(34, 33, 118)
HSLhsl(241, 56%, 30%)
HSVhsv(241, 72%, 46%)
CMYKcmyk(71.2%, 72%, 0%, 53.7%)
CIE-LABlab(18.95, 29.86, -48.33)
CIE-LCHlch(18.95, 56.81, 301.71°)
OKLaboklab(31.38% 0.0127 -0.1396)
OKLCHoklch(31.38% 0.14 275.2)
XYZxyz(4.4725, 2.7354, 17.4283)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222176 #757621
analogous
#214B76 #222176 #4D2176
triadic
#222176 #762221 #217622
tetradic
#222176 #76214B #757621 #21764D
square
#222176 #76214B #757621 #21764D
split-complementary
#222176 #764D21 #4B7621
monochromatic
#070718 #141446 #222176 #302EA6 #4846CB

Accessibility & contrast

On white

13.57
#222176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#222176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222176
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222176#FFFFFF#000000##FFFFFF
##2221761.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222176;
/* rgb */ color: rgb(34, 33, 118);
/* oklch */ color: oklch(31.4% 0.140 275.2);
Tailwind
colors: {
  custom: {
    50: '#6a5d9e',
    500: '#222176',
    950: '#000000',
  },
}
SCSS
$custom: #222176;
$custom-light: #6a5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#222176",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 240.706,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31382,
    "c": 0.1402,
    "h": 275.2
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#222176
secondary
#A8A94A
accent
#E048DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222176

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

Preview Lab → · Contrast checker → · Palette generator →

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