#222078#222078

#222078 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.144 H 275.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#222078
RGBrgb(34, 32, 120)
HSLhsl(241, 58%, 30%)
HSVhsv(241, 73%, 47%)
CMYKcmyk(71.7%, 73.3%, 0%, 52.9%)
CIE-LABlab(18.92, 31.22, -49.66)
CIE-LCHlch(18.92, 58.66, 302.16°)
OKLaboklab(31.42% 0.0131 -0.1435)
OKLCHoklch(31.42% 0.144 275.2)
XYZxyz(4.5652, 2.7287, 18.0518)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222078 #767820
analogous
#204A78 #222078 #4E2078
triadic
#222078 #782220 #207822
tetradic
#222078 #78204A #767820 #20784E
square
#222078 #78204A #767820 #20784E
split-complementary
#222078 #784E20 #4A7820
monochromatic
#070618 #141348 #222078 #302DA8 #4845CD

Accessibility & contrast

On white

13.59
#222078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#222078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222078
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222078#FFFFFF#000000##FFFFFF
##2220781.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222078;
/* rgb */ color: rgb(34, 32, 120);
/* oklch */ color: oklch(31.4% 0.144 275.2);
Tailwind
colors: {
  custom: {
    50: '#6b5ca0',
    500: '#222078',
    950: '#000000',
  },
}
SCSS
$custom: #222078;
$custom-light: #6b5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#222078",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 241.364,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31424,
    "c": 0.1441,
    "h": 275.2
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#222078
secondary
#A9AB48
accent
#E147DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #222078

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

Preview Lab → · Contrast checker → · Palette generator →

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