#222776#222776

#222776 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.133 H 273.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#222776
RGBrgb(34, 39, 118)
HSLhsl(236, 55%, 30%)
HSVhsv(236, 71%, 46%)
CMYKcmyk(71.2%, 66.9%, 0%, 53.7%)
CIE-LABlab(20.43, 25.88, -45.90)
CIE-LCHlch(20.43, 52.69, 299.41°)
OKLaboklab(32.46% 0.0082 -0.1325)
OKLCHoklch(32.46% 0.133 273.5)
XYZxyz(4.6541, 3.0987, 17.4889)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222776 #767122
analogous
#225176 #222776 #472276
triadic
#222776 #762227 #277622
tetradic
#222776 #762251 #767122 #227647
square
#222776 #762251 #767122 #227647
split-complementary
#222776 #764722 #517622
monochromatic
#070818 #141746 #222776 #3037A6 #4850CA

Accessibility & contrast

On white

12.96
#222776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#222776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222776
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222776#FFFFFF#000000##FFFFFF
##2227761.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222776;
/* rgb */ color: rgb(34, 39, 118);
/* oklch */ color: oklch(32.5% 0.133 273.5);
Tailwind
colors: {
  custom: {
    50: '#69619e',
    500: '#222776',
    950: '#000000',
  },
}
SCSS
$custom: #222776;
$custom-light: #69619e;
$custom-dark: #000000;
JSON
{
  "hex": "#222776",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 236.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32459,
    "c": 0.13273,
    "h": 273.5
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#222776
secondary
#A9A34B
accent
#D649DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222776

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

Preview Lab → · Contrast checker → · Palette generator →

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