#222079#222079

#222079 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.145 H 275.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#222079
RGBrgb(34, 32, 121)
HSLhsl(241, 58%, 30%)
HSVhsv(241, 74%, 47%)
CMYKcmyk(71.9%, 73.6%, 0%, 52.5%)
CIE-LABlab(19.03, 31.58, -50.13)
CIE-LCHlch(19.03, 59.25, 302.21°)
OKLaboklab(31.53% 0.0129 -0.1449)
OKLCHoklch(31.53% 0.145 275.1)
XYZxyz(4.6263, 2.7532, 18.3731)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222079 #777920
analogous
#204B79 #222079 #4E2079
triadic
#222079 #792220 #207922
tetradic
#222079 #79204B #777920 #20794E
square
#222079 #79204B #777920 #20794E
split-complementary
#222079 #794E20 #4B7920
monochromatic
#070618 #141349 #222079 #302DA9 #4945CE

Accessibility & contrast

On white

13.54
#222079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222079
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222079#FFFFFF#000000##FFFFFF
##2220791.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222079;
/* rgb */ color: rgb(34, 32, 121);
/* oklch */ color: oklch(31.5% 0.145 275.1);
Tailwind
colors: {
  custom: {
    50: '#6b5ca1',
    500: '#222079',
    950: '#000000',
  },
}
SCSS
$custom: #222079;
$custom-light: #6b5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#222079",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 241.348,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.3153,
    "c": 0.14545,
    "h": 275.1
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#222079
secondary
#AAAC49
accent
#E146DE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #222079

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

Preview Lab → · Contrast checker → · Palette generator →

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