#22207B#22207B

#22207B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.148 H 274.9°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#22207B
RGBrgb(34, 32, 123)
HSLhsl(241, 59%, 30%)
HSVhsv(241, 74%, 48%)
CMYKcmyk(72.4%, 74%, 0%, 51.8%)
CIE-LABlab(19.24, 32.30, -51.06)
CIE-LCHlch(19.24, 60.42, 302.31°)
OKLaboklab(31.74% 0.0126 -0.1476)
OKLCHoklch(31.74% 0.148 274.9)
XYZxyz(4.7502, 2.8027, 19.0257)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22207B #797B20
analogous
#204B7B #22207B #50207B
triadic
#22207B #7B2220 #207B22
tetradic
#22207B #7B204B #797B20 #207B50
square
#22207B #7B204B #797B20 #207B50
split-complementary
#22207B #7B5020 #4B7B20
monochromatic
#07071A #15134A #22207B #2F2DAC #4946CF

Accessibility & contrast

On white

13.46
#22207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#22207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22207B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22207B#FFFFFF#000000##FFFFFF
##22207B1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22207b;
/* rgb */ color: rgb(34, 32, 123);
/* oklch */ color: oklch(31.7% 0.148 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b5ca2',
    500: '#22207b',
    950: '#000000',
  },
}
SCSS
$custom: #22207b;
$custom-light: #6b5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#22207b",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 241.319,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31743,
    "c": 0.14814,
    "h": 274.9
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#22207B
secondary
#ACAE49
accent
#E246DE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #22207B

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

Preview Lab → · Contrast checker → · Palette generator →

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