#22206F#22206F

#22206F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.132 H 276.3°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#22206F
RGBrgb(34, 32, 111)
HSLhsl(242, 55%, 28%)
HSVhsv(242, 71%, 44%)
CMYKcmyk(69.4%, 71.2%, 0%, 56.5%)
CIE-LABlab(18.01, 27.96, -45.36)
CIE-LCHlch(18.01, 53.28, 301.65°)
OKLaboklab(30.49% 0.0145 -0.1309)
OKLCHoklch(30.49% 0.132 276.3)
XYZxyz(4.0445, 2.5205, 15.3092)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22206F #6D6F20
analogous
#20456F #22206F #49206F
triadic
#22206F #6F2220 #206F22
tetradic
#22206F #6F2045 #6D6F20 #206F49
square
#22206F #6F2045 #6D6F20 #206F49
split-complementary
#22206F #6F4920 #456F20
monochromatic
#070718 #13123F #22206F #312E9F #4541C8

Accessibility & contrast

On white

13.96
#22206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#22206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22206F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22206F#FFFFFF#000000##FFFFFF
##22206F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22206f;
/* rgb */ color: rgb(34, 32, 111);
/* oklch */ color: oklch(30.5% 0.132 276.3);
Tailwind
colors: {
  custom: {
    50: '#685c99',
    500: '#22206f',
    950: '#000000',
  },
}
SCSS
$custom: #22206f;
$custom-light: #685c99;
$custom-dark: #000000;
JSON
{
  "hex": "#22206f",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 241.519,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3049,
    "c": 0.13173,
    "h": 276.3
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#22206F
secondary
#A1A348
accent
#DF49DB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #22206F

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

Preview Lab → · Contrast checker → · Palette generator →

#22206F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva