#222476#222476

#222476 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.137 H 274.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#222476
RGBrgb(34, 36, 118)
HSLhsl(239, 55%, 30%)
HSVhsv(239, 71%, 46%)
CMYKcmyk(71.2%, 69.5%, 0%, 53.7%)
CIE-LABlab(19.68, 27.89, -47.14)
CIE-LCHlch(19.68, 54.77, 300.61°)
OKLaboklab(31.91% 0.0105 -0.1361)
OKLCHoklch(31.91% 0.137 274.4)
XYZxyz(4.5595, 2.9094, 17.4573)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222476 #767422
analogous
#224E76 #222476 #4A2276
triadic
#222476 #762224 #247622
tetradic
#222476 #76224E #767422 #22764A
square
#222476 #76224E #767422 #22764A
split-complementary
#222476 #764A22 #4E7622
monochromatic
#070718 #141646 #222476 #3032A6 #484BCA

Accessibility & contrast

On white

13.27
#222476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#222476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222476
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222476#FFFFFF#000000##FFFFFF
##2224761.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222476;
/* rgb */ color: rgb(34, 36, 118);
/* oklch */ color: oklch(31.9% 0.137 274.4);
Tailwind
colors: {
  custom: {
    50: '#6a5f9e',
    500: '#222476',
    950: '#000000',
  },
}
SCSS
$custom: #222476;
$custom-light: #6a5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#222476",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 238.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31907,
    "c": 0.13654,
    "h": 274.4
  },
  "luminance": 0.0291
}

Semantic roles & 50–950 ramp

primary
#222476
secondary
#A9A74B
accent
#DB49DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222476

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

Preview Lab → · Contrast checker → · Palette generator →

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