#222072#222072

#222072 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.136 H 275.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#222072
RGBrgb(34, 32, 114)
HSLhsl(241, 56%, 29%)
HSVhsv(241, 72%, 45%)
CMYKcmyk(70.2%, 71.9%, 0%, 55.3%)
CIE-LABlab(18.31, 29.06, -46.81)
CIE-LCHlch(18.31, 55.09, 301.83°)
OKLaboklab(30.8% 0.0141 -0.1352)
OKLCHoklch(30.8% 0.136 275.9)
XYZxyz(4.2125, 2.5876, 16.1938)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222072 #707220
analogous
#204772 #222072 #4B2072
triadic
#222072 #722220 #207222
tetradic
#222072 #722047 #707220 #20724B
square
#222072 #722047 #707220 #20724B
split-complementary
#222072 #724B20 #477220
monochromatic
#070718 #141342 #222072 #302DA2 #4642CA

Accessibility & contrast

On white

13.84
#222072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#222072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222072
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222072#FFFFFF#000000##FFFFFF
##2220721.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #222072;
/* rgb */ color: rgb(34, 32, 114);
/* oklch */ color: oklch(30.8% 0.136 275.9);
Tailwind
colors: {
  custom: {
    50: '#695c9b',
    500: '#222072',
    950: '#000000',
  },
}
SCSS
$custom: #222072;
$custom-light: #695c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#222072",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 241.463,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30798,
    "c": 0.1359,
    "h": 275.9
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#222072
secondary
#A3A648
accent
#DF48DC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222072

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

Preview Lab → · Contrast checker → · Palette generator →

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