#22207D#22207D

#22207D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.151 H 274.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#22207D
RGBrgb(34, 32, 125)
HSLhsl(241, 59%, 31%)
HSVhsv(241, 74%, 49%)
CMYKcmyk(72.8%, 74.4%, 0%, 51%)
CIE-LABlab(19.45, 33.01, -51.99)
CIE-LCHlch(19.45, 61.58, 302.41°)
OKLaboklab(31.96% 0.0122 -0.1503)
OKLCHoklch(31.96% 0.151 274.7)
XYZxyz(4.8766, 2.8533, 19.6918)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22207D #7B7D20
analogous
#204C7D #22207D #50207D
triadic
#22207D #7D2220 #207D22
tetradic
#22207D #7D204C #7B7D20 #207D50
square
#22207D #7D204C #7B7D20 #207D50
split-complementary
#22207D #7D5020 #4C7D20
monochromatic
#07071C #15144C #22207D #2F2CAE #4A47D0

Accessibility & contrast

On white

13.37
#22207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#22207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22207D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22207D#FFFFFF#000000##FFFFFF
##22207D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22207d;
/* rgb */ color: rgb(34, 32, 125);
/* oklch */ color: oklch(32.0% 0.151 274.7);
Tailwind
colors: {
  custom: {
    50: '#6c5ca4',
    500: '#22207d',
    950: '#000000',
  },
}
SCSS
$custom: #22207d;
$custom-light: #6c5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#22207d",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 241.29,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31957,
    "c": 0.1508,
    "h": 274.7
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#22207D
secondary
#AEB049
accent
#E245DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #22207D

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

Preview Lab → · Contrast checker → · Palette generator →

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