#22166A#22166A

#22166A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.137 H 279.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#22166A
RGBrgb(34, 22, 106)
HSLhsl(249, 66%, 25%)
HSVhsv(249, 79%, 42%)
CMYKcmyk(67.9%, 79.2%, 0%, 58.4%)
CIE-LABlab(15.24, 32.42, -46.65)
CIE-LCHlch(15.24, 56.80, 304.80°)
OKLaboklab(28.36% 0.0229 -0.1347)
OKLCHoklch(28.36% 0.137 279.6)
XYZxyz(3.5473, 1.9542, 13.8231)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22166A #5E6A16
analogous
#16346A #22166A #4C166A
triadic
#22166A #6A2216 #166A22
tetradic
#22166A #6A1634 #5E6A16 #166A4C
square
#22166A #6A1634 #5E6A16 #166A4C
split-complementary
#22166A #6A4C16 #346A16
monochromatic
#080519 #120B37 #22166A #32219D #432BCF

Accessibility & contrast

On white

15.10
#22166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#22166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22166A
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22166A#FFFFFF#000000##FFFFFF
##22166A1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #22166a;
/* rgb */ color: rgb(34, 22, 106);
/* oklch */ color: oklch(28.4% 0.137 279.6);
Tailwind
colors: {
  custom: {
    50: '#685596',
    500: '#22166a',
    950: '#000000',
  },
}
SCSS
$custom: #22166a;
$custom-light: #685596;
$custom-dark: #000000;
JSON
{
  "hex": "#22166a",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 248.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28358,
    "c": 0.13659,
    "h": 279.6
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#22166A
secondary
#92A03B
accent
#E93FD0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #22166A

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

Preview Lab → · Contrast checker → · Palette generator →

#22166A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva