#22207E#22207E

#22207E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.152 H 274.5°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#22207E
RGBrgb(34, 32, 126)
HSLhsl(241, 59%, 31%)
HSVhsv(241, 75%, 49%)
CMYKcmyk(73%, 74.6%, 0%, 50.6%)
CIE-LABlab(19.55, 33.36, -52.45)
CIE-LCHlch(19.55, 62.16, 302.46°)
OKLaboklab(32.06% 0.0121 -0.1516)
OKLCHoklch(32.06% 0.152 274.5)
XYZxyz(4.9408, 2.8790, 20.0299)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22207E #7C7E20
analogous
#204D7E #22207E #51207E
triadic
#22207E #7E2220 #207E22
tetradic
#22207E #7E204D #7C7E20 #207E51
square
#22207E #7E204D #7C7E20 #207E51
split-complementary
#22207E #7E5120 #4D7E20
monochromatic
#08071C #15144D #22207E #2F2CAF #4B48D0

Accessibility & contrast

On white

13.33
#22207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#22207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22207E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22207E#FFFFFF#000000##FFFFFF
##22207E1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22207e;
/* rgb */ color: rgb(34, 32, 126);
/* oklch */ color: oklch(32.1% 0.152 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c5ca4',
    500: '#22207e',
    950: '#000000',
  },
}
SCSS
$custom: #22207e;
$custom-light: #6c5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#22207e",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 241.277,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32064,
    "c": 0.15213,
    "h": 274.5
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#22207E
secondary
#AFB149
accent
#E345DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #22207E

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

Preview Lab → · Contrast checker → · Palette generator →

#22207E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva