#222579#222579

#222579 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.139 H 273.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#222579
RGBrgb(34, 37, 121)
HSLhsl(238, 56%, 30%)
HSVhsv(238, 72%, 47%)
CMYKcmyk(71.9%, 69.4%, 0%, 52.5%)
CIE-LABlab(20.22, 28.34, -48.17)
CIE-LCHlch(20.22, 55.89, 300.47°)
OKLaboklab(32.39% 0.0094 -0.1392)
OKLCHoklch(32.39% 0.139 273.9)
XYZxyz(4.7713, 3.0432, 18.4214)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222579 #797622
analogous
#225079 #222579 #4A2279
triadic
#222579 #792225 #257922
tetradic
#222579 #792250 #797622 #22794A
square
#222579 #792250 #797622 #22794A
split-complementary
#222579 #794A22 #507922
monochromatic
#070819 #151649 #222579 #2F34A9 #494ECC

Accessibility & contrast

On white

13.05
#222579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#222579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222579
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222579#FFFFFF#000000##FFFFFF
##2225791.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222579;
/* rgb */ color: rgb(34, 37, 121);
/* oklch */ color: oklch(32.4% 0.139 273.9);
Tailwind
colors: {
  custom: {
    50: '#6a60a1',
    500: '#222579',
    950: '#000000',
  },
}
SCSS
$custom: #222579;
$custom-light: #6a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#222579",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 237.931,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32388,
    "c": 0.13948,
    "h": 273.9
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#222579
secondary
#ACA94B
accent
#DA48DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #222579

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

Preview Lab → · Contrast checker → · Palette generator →

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