#22207C#22207C

#22207C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.149 H 274.8°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#22207C
RGBrgb(34, 32, 124)
HSLhsl(241, 59%, 31%)
HSVhsv(241, 74%, 49%)
CMYKcmyk(72.6%, 74.2%, 0%, 51.4%)
CIE-LABlab(19.34, 32.65, -51.53)
CIE-LCHlch(19.34, 61.00, 302.36°)
OKLaboklab(31.85% 0.0124 -0.1489)
OKLCHoklch(31.85% 0.149 274.8)
XYZxyz(4.8131, 2.8279, 19.3571)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22207C #7A7C20
analogous
#204C7C #22207C #50207C
triadic
#22207C #7C2220 #207C22
tetradic
#22207C #7C204C #7A7C20 #207C50
square
#22207C #7C204C #7A7C20 #207C50
split-complementary
#22207C #7C5020 #4C7C20
monochromatic
#07071B #15134B #22207C #2F2DAD #4A47CF

Accessibility & contrast

On white

13.41
#22207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22207C
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22207C#FFFFFF#000000##FFFFFF
##22207C1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22207c;
/* rgb */ color: rgb(34, 32, 124);
/* oklch */ color: oklch(31.8% 0.149 274.8);
Tailwind
colors: {
  custom: {
    50: '#6c5ca3',
    500: '#22207c',
    950: '#000000',
  },
}
SCSS
$custom: #22207c;
$custom-light: #6c5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#22207c",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 241.304,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31849,
    "c": 0.14947,
    "h": 274.8
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#22207C
secondary
#ADAF49
accent
#E246DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #22207C

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

Preview Lab → · Contrast checker → · Palette generator →

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