#222596#222596

#222596 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.178 H 271.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#222596
RGBrgb(34, 37, 150)
HSLhsl(238, 63%, 36%)
HSVhsv(238, 77%, 59%)
CMYKcmyk(77.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(23.22, 38.77, -61.41)
CIE-LCHlch(23.22, 72.62, 302.27°)
OKLaboklab(35.45% 0.0052 -0.1778)
OKLCHoklch(35.45% 0.178 271.7)
XYZxyz(6.8244, 3.8645, 29.2345)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222596 #969322
analogous
#225F96 #222596 #592296
triadic
#222596 #962225 #259622
tetradic
#222596 #96225F #969322 #229659
square
#222596 #96225F #969322 #229659
split-complementary
#222596 #965922 #5F9622
monochromatic
#0B0C32 #171964 #222596 #2D31C8 #595CD9

Accessibility & contrast

On white

11.84
#222596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#222596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222596
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222596#FFFFFF#000000##FFFFFF
##2225961.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222596;
/* rgb */ color: rgb(34, 37, 150);
/* oklch */ color: oklch(35.4% 0.178 271.7);
Tailwind
colors: {
  custom: {
    50: '#7261b6',
    500: '#222596',
    950: '#000000',
  },
}
SCSS
$custom: #222596;
$custom-light: #7261b6;
$custom-dark: #000000;
JSON
{
  "hex": "#222596",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 238.448,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35447,
    "c": 0.17785,
    "h": 271.7
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#222596
secondary
#BEBB56
accent
#E242E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222596

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

Preview Lab → · Contrast checker → · Palette generator →

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