#22207A#22207A

#22207A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.147 H 275.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#22207A
RGBrgb(34, 32, 122)
HSLhsl(241, 58%, 30%)
HSVhsv(241, 74%, 48%)
CMYKcmyk(72.1%, 73.8%, 0%, 52.2%)
CIE-LABlab(19.13, 31.94, -50.60)
CIE-LCHlch(19.13, 59.83, 302.26°)
OKLaboklab(31.64% 0.0128 -0.1462)
OKLCHoklch(31.64% 0.147 275)
XYZxyz(4.6879, 2.7778, 18.6977)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22207A #787A20
analogous
#204B7A #22207A #4F207A
triadic
#22207A #7A2220 #207A22
tetradic
#22207A #7A204B #787A20 #207A4F
square
#22207A #7A204B #787A20 #207A4F
split-complementary
#22207A #7A4F20 #4B7A20
monochromatic
#070719 #14134A #22207A #302DAA #4946CE

Accessibility & contrast

On white

13.50
#22207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22207A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22207A#FFFFFF#000000##FFFFFF
##22207A1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22207a;
/* rgb */ color: rgb(34, 32, 122);
/* oklch */ color: oklch(31.6% 0.147 275.0);
Tailwind
colors: {
  custom: {
    50: '#6b5ca1',
    500: '#22207a',
    950: '#000000',
  },
}
SCSS
$custom: #22207a;
$custom-light: #6b5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#22207a",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 241.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31636,
    "c": 0.1468,
    "h": 275
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#22207A
secondary
#ABAD49
accent
#E246DE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #22207A

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

Preview Lab → · Contrast checker → · Palette generator →

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