#222279#222279

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

Color values

HEX#222279
RGBrgb(34, 34, 121)
HSLhsl(240, 56%, 30%)
HSVhsv(240, 72%, 47%)
CMYKcmyk(71.9%, 71.9%, 0%, 52.5%)
CIE-LABlab(19.49, 30.30, -49.36)
CIE-LCHlch(19.49, 57.92, 301.55°)
OKLaboklab(31.86% 0.0116 -0.1426)
OKLCHoklch(31.86% 0.143 274.6)
XYZxyz(4.6818, 2.8642, 18.3916)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222279 #797922
analogous
#224D79 #222279 #4D2279
triadic
#222279 #792222 #227922
tetradic
#222279 #79224D #797922 #22794D
square
#222279 #79224D #797922 #22794D
split-complementary
#222279 #794D22 #4D7922
monochromatic
#070719 #151549 #222279 #2F2FA9 #4949CC

Accessibility & contrast

On white

13.35
#222279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#222279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222279
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222279#FFFFFF#000000##FFFFFF
##2222791.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222279;
/* rgb */ color: rgb(34, 34, 121);
/* oklch */ color: oklch(31.9% 0.143 274.6);
Tailwind
colors: {
  custom: {
    50: '#6b5ea1',
    500: '#222279',
    950: '#000000',
  },
}
SCSS
$custom: #222279;
$custom-light: #6b5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#222279",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31864,
    "c": 0.14311,
    "h": 274.6
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#222279
secondary
#ACAC4B
accent
#DF48DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #222279

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

Preview Lab → · Contrast checker → · Palette generator →

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