#222379#222379

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

Color values

HEX#222379
RGBrgb(34, 35, 121)
HSLhsl(239, 56%, 30%)
HSVhsv(239, 72%, 47%)
CMYKcmyk(71.9%, 71.1%, 0%, 52.5%)
CIE-LABlab(19.73, 29.66, -48.97)
CIE-LCHlch(19.73, 57.25, 301.20°)
OKLaboklab(32.04% 0.0109 -0.1415)
OKLCHoklch(32.04% 0.142 274.4)
XYZxyz(4.7108, 2.9222, 18.4012)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222379 #797822
analogous
#224F79 #222379 #4C2279
triadic
#222379 #792223 #237922
tetradic
#222379 #79224F #797822 #22794C
square
#222379 #79224F #797822 #22794C
split-complementary
#222379 #794C22 #4F7922
monochromatic
#070719 #151549 #222379 #2F31A9 #494BCC

Accessibility & contrast

On white

13.25
#222379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222379
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222379#FFFFFF#000000##FFFFFF
##2223791.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222379;
/* rgb */ color: rgb(34, 35, 121);
/* oklch */ color: oklch(32.0% 0.142 274.4);
Tailwind
colors: {
  custom: {
    50: '#6b5ea1',
    500: '#222379',
    950: '#000000',
  },
}
SCSS
$custom: #222379;
$custom-light: #6b5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#222379",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 239.31,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32035,
    "c": 0.14192,
    "h": 274.4
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#222379
secondary
#ACAB4B
accent
#DE48DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #222379

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

Preview Lab → · Contrast checker → · Palette generator →

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