#222076#222076

#222076 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.141 H 275.5°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#222076
RGBrgb(34, 32, 118)
HSLhsl(241, 57%, 29%)
HSVhsv(241, 73%, 46%)
CMYKcmyk(71.2%, 72.9%, 0%, 53.7%)
CIE-LABlab(18.72, 30.50, -48.72)
CIE-LCHlch(18.72, 57.48, 302.05°)
OKLaboklab(31.21% 0.0134 -0.1407)
OKLCHoklch(31.21% 0.141 275.5)
XYZxyz(4.4451, 2.6807, 17.4192)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222076 #747620
analogous
#204976 #222076 #4D2076
triadic
#222076 #762220 #207622
tetradic
#222076 #762049 #747620 #20764D
square
#222076 #762049 #747620 #20764D
split-complementary
#222076 #764D20 #497620
monochromatic
#070718 #141346 #222076 #302DA6 #4744CC

Accessibility & contrast

On white

13.67
#222076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#222076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222076
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222076#FFFFFF#000000##FFFFFF
##2220761.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222076;
/* rgb */ color: rgb(34, 32, 118);
/* oklch */ color: oklch(31.2% 0.141 275.5);
Tailwind
colors: {
  custom: {
    50: '#6a5c9e',
    500: '#222076',
    950: '#000000',
  },
}
SCSS
$custom: #222076;
$custom-light: #6a5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#222076",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 241.395,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31214,
    "c": 0.14139,
    "h": 275.5
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#222076
secondary
#A7A948
accent
#E147DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222076

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

Preview Lab → · Contrast checker → · Palette generator →

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