#22206D#22206D

#22206D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.129 H 276.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#22206D
RGBrgb(34, 32, 109)
HSLhsl(242, 55%, 28%)
HSVhsv(242, 71%, 43%)
CMYKcmyk(68.8%, 70.6%, 0%, 57.3%)
CIE-LABlab(17.81, 27.23, -44.38)
CIE-LCHlch(17.81, 52.07, 301.53°)
OKLaboklab(30.29% 0.0148 -0.1281)
OKLCHoklch(30.29% 0.129 276.6)
XYZxyz(3.9356, 2.4769, 14.7357)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22206D #6B6D20
analogous
#20456D #22206D #48206D
triadic
#22206D #6D2220 #206D22
tetradic
#22206D #6D2045 #6B6D20 #206D48
square
#22206D #6D2045 #6B6D20 #206D48
split-complementary
#22206D #6D4820 #456D20
monochromatic
#070718 #13123E #22206D #312E9C #4440C7

Accessibility & contrast

On white

14.04
#22206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22206D
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22206D#FFFFFF#000000##FFFFFF
##22206D1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22206d;
/* rgb */ color: rgb(34, 32, 109);
/* oklch */ color: oklch(30.3% 0.129 276.6);
Tailwind
colors: {
  custom: {
    50: '#685c98',
    500: '#22206d',
    950: '#000000',
  },
}
SCSS
$custom: #22206d;
$custom-light: #685c98;
$custom-dark: #000000;
JSON
{
  "hex": "#22206d",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 241.558,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30287,
    "c": 0.12893,
    "h": 276.6
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#22206D
secondary
#9FA148
accent
#DE4ADA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #22206D

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

Preview Lab → · Contrast checker → · Palette generator →

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