#222177#222177

#222177 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.142 H 275.1°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#222177
RGBrgb(34, 33, 119)
HSLhsl(241, 57%, 30%)
HSVhsv(241, 72%, 47%)
CMYKcmyk(71.4%, 72.3%, 0%, 53.3%)
CIE-LABlab(19.05, 30.22, -48.80)
CIE-LCHlch(19.05, 57.40, 301.77°)
OKLaboklab(31.49% 0.0126 -0.141)
OKLCHoklch(31.49% 0.142 275.1)
XYZxyz(4.5322, 2.7593, 17.7429)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222177 #767721
analogous
#214B77 #222177 #4D2177
triadic
#222177 #772221 #217722
tetradic
#222177 #77214B #767721 #21774D
square
#222177 #77214B #767721 #21774D
split-complementary
#222177 #774D21 #4B7721
monochromatic
#070718 #141447 #222177 #302EA7 #4847CC

Accessibility & contrast

On white

13.53
#222177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222177
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222177#FFFFFF#000000##FFFFFF
##2221771.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222177;
/* rgb */ color: rgb(34, 33, 119);
/* oklch */ color: oklch(31.5% 0.142 275.1);
Tailwind
colors: {
  custom: {
    50: '#6a5d9f',
    500: '#222177',
    950: '#000000',
  },
}
SCSS
$custom: #222177;
$custom-light: #6a5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#222177",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 240.698,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31486,
    "c": 0.14157,
    "h": 275.1
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#222177
secondary
#A9AA4A
accent
#E048DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #222177

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

Preview Lab → · Contrast checker → · Palette generator →

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