#22206E#22206E

#22206E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.130 H 276.4°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#22206E
RGBrgb(34, 32, 110)
HSLhsl(242, 55%, 28%)
HSVhsv(242, 71%, 43%)
CMYKcmyk(69.1%, 70.9%, 0%, 56.9%)
CIE-LABlab(17.91, 27.60, -44.87)
CIE-LCHlch(17.91, 52.68, 301.59°)
OKLaboklab(30.39% 0.0146 -0.1295)
OKLCHoklch(30.39% 0.13 276.4)
XYZxyz(3.9898, 2.4986, 15.0208)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22206E #6C6E20
analogous
#20456E #22206E #49206E
triadic
#22206E #6E2220 #206E22
tetradic
#22206E #6E2045 #6C6E20 #206E49
square
#22206E #6E2045 #6C6E20 #206E49
split-complementary
#22206E #6E4920 #456E20
monochromatic
#070718 #13123F #22206E #312E9D #4441C8

Accessibility & contrast

On white

14.00
#22206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22206E
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22206E#FFFFFF#000000##FFFFFF
##22206E1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22206e;
/* rgb */ color: rgb(34, 32, 110);
/* oklch */ color: oklch(30.4% 0.130 276.4);
Tailwind
colors: {
  custom: {
    50: '#685c98',
    500: '#22206e',
    950: '#000000',
  },
}
SCSS
$custom: #22206e;
$custom-light: #685c98;
$custom-dark: #000000;
JSON
{
  "hex": "#22206e",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 241.538,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30389,
    "c": 0.13033,
    "h": 276.4
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22206E

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

Preview Lab → · Contrast checker → · Palette generator →

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