#222276#222276

#222276 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.139 H 275.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#222276
RGBrgb(34, 34, 118)
HSLhsl(240, 55%, 30%)
HSVhsv(240, 71%, 46%)
CMYKcmyk(71.2%, 71.2%, 0%, 53.7%)
CIE-LABlab(19.19, 29.21, -47.94)
CIE-LCHlch(19.19, 56.14, 301.36°)
OKLaboklab(31.55% 0.012 -0.1385)
OKLCHoklch(31.55% 0.139 275)
XYZxyz(4.5006, 2.7917, 17.4377)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222276 #767622
analogous
#224C76 #222276 #4C2276
triadic
#222276 #762222 #227622
tetradic
#222276 #76224C #767622 #22764C
square
#222276 #76224C #767622 #22764C
split-complementary
#222276 #764C22 #4C7622
monochromatic
#070718 #141446 #222276 #3030A6 #4848CA

Accessibility & contrast

On white

13.48
#222276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222276
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222276#FFFFFF#000000##FFFFFF
##2222761.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222276;
/* rgb */ color: rgb(34, 34, 118);
/* oklch */ color: oklch(31.6% 0.139 275.0);
Tailwind
colors: {
  custom: {
    50: '#6a5d9e',
    500: '#222276',
    950: '#000000',
  },
}
SCSS
$custom: #222276;
$custom-light: #6a5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#222276",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31554,
    "c": 0.139,
    "h": 275
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#222276
secondary
#A9A94B
accent
#DF49DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222276

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

Preview Lab → · Contrast checker → · Palette generator →

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