#222071#222071

#222071 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.135 H 276.1°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#222071
RGBrgb(34, 32, 113)
HSLhsl(241, 56%, 28%)
HSVhsv(241, 72%, 44%)
CMYKcmyk(69.9%, 71.7%, 0%, 55.7%)
CIE-LABlab(18.21, 28.69, -46.33)
CIE-LCHlch(18.21, 54.49, 301.77°)
OKLaboklab(30.7% 0.0142 -0.1338)
OKLCHoklch(30.7% 0.135 276.1)
XYZxyz(4.1559, 2.5650, 15.8957)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222071 #6F7120
analogous
#204671 #222071 #4A2071
triadic
#222071 #712220 #207122
tetradic
#222071 #712046 #6F7120 #20714A
square
#222071 #712046 #6F7120 #20714A
split-complementary
#222071 #714A20 #467120
monochromatic
#070718 #141241 #222071 #302EA1 #4542C9

Accessibility & contrast

On white

13.88
#222071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#222071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222071
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222071#FFFFFF#000000##FFFFFF
##2220711.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #222071;
/* rgb */ color: rgb(34, 32, 113);
/* oklch */ color: oklch(30.7% 0.135 276.1);
Tailwind
colors: {
  custom: {
    50: '#695c9b',
    500: '#222071',
    950: '#000000',
  },
}
SCSS
$custom: #222071;
$custom-light: #695c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#222071",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 241.481,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30695,
    "c": 0.13451,
    "h": 276.1
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#222071
secondary
#A2A548
accent
#DF49DB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222071

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

Preview Lab → · Contrast checker → · Palette generator →

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