#222576#222576

#222576 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.135 H 274.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#222576
RGBrgb(34, 37, 118)
HSLhsl(238, 55%, 30%)
HSVhsv(238, 71%, 46%)
CMYKcmyk(71.2%, 68.6%, 0%, 53.7%)
CIE-LABlab(19.93, 27.23, -46.73)
CIE-LCHlch(19.93, 54.08, 300.23°)
OKLaboklab(32.09% 0.0098 -0.1349)
OKLCHoklch(32.09% 0.135 274.1)
XYZxyz(4.5902, 2.9708, 17.4675)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222576 #767322
analogous
#224F76 #222576 #492276
triadic
#222576 #762225 #257622
tetradic
#222576 #76224F #767322 #227649
square
#222576 #76224F #767322 #227649
split-complementary
#222576 #764922 #4F7622
monochromatic
#070718 #141646 #222576 #3034A6 #484DCA

Accessibility & contrast

On white

13.17
#222576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#222576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222576
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222576#FFFFFF#000000##FFFFFF
##2225761.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222576;
/* rgb */ color: rgb(34, 37, 118);
/* oklch */ color: oklch(32.1% 0.135 274.1);
Tailwind
colors: {
  custom: {
    50: '#6a609e',
    500: '#222576',
    950: '#000000',
  },
}
SCSS
$custom: #222576;
$custom-light: #6a609e;
$custom-dark: #000000;
JSON
{
  "hex": "#222576",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 237.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32088,
    "c": 0.13528,
    "h": 274.1
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#222576
secondary
#A9A64B
accent
#D949DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222576

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

Preview Lab → · Contrast checker → · Palette generator →

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