#22206B#22206B

#22206B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.126 H 276.8°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#22206B
RGBrgb(34, 32, 107)
HSLhsl(242, 54%, 27%)
HSVhsv(242, 70%, 42%)
CMYKcmyk(68.2%, 70.1%, 0%, 58%)
CIE-LABlab(17.62, 26.50, -43.40)
CIE-LCHlch(17.62, 50.85, 301.41°)
OKLaboklab(30.09% 0.015 -0.1252)
OKLCHoklch(30.09% 0.126 276.8)
XYZxyz(3.8292, 2.4343, 14.1751)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22206B #696B20
analogous
#20446B #22206B #48206B
triadic
#22206B #6B2220 #206B22
tetradic
#22206B #6B2044 #696B20 #206B48
square
#22206B #6B2044 #696B20 #206B48
split-complementary
#22206B #6B4820 #446B20
monochromatic
#070718 #13123C #22206B #312E9A #4340C6

Accessibility & contrast

On white

14.12
#22206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#22206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22206B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22206B#FFFFFF#000000##FFFFFF
##22206B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #22206b;
/* rgb */ color: rgb(34, 32, 107);
/* oklch */ color: oklch(30.1% 0.126 276.8);
Tailwind
colors: {
  custom: {
    50: '#685c96',
    500: '#22206b',
    950: '#000000',
  },
}
SCSS
$custom: #22206b;
$custom-light: #685c96;
$custom-dark: #000000;
JSON
{
  "hex": "#22206b",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 241.6,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30086,
    "c": 0.1261,
    "h": 276.8
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#22206B
secondary
#9D9F48
accent
#DD4AD9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #22206B

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

Preview Lab → · Contrast checker → · Palette generator →

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