#22196A#22196A

#22196A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.133 H 278.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#22196A
RGBrgb(34, 25, 106)
HSLhsl(247, 62%, 26%)
HSVhsv(247, 76%, 42%)
CMYKcmyk(67.9%, 76.4%, 0%, 58.4%)
CIE-LABlab(15.88, 30.63, -45.60)
CIE-LCHlch(15.88, 54.93, 303.89°)
OKLaboklab(28.81% 0.0207 -0.1316)
OKLCHoklch(28.81% 0.133 278.9)
XYZxyz(3.6080, 2.0757, 13.8434)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22196A #616A19
analogous
#19386A #22196A #4A196A
triadic
#22196A #6A2219 #196A22
tetradic
#22196A #6A1938 #616A19 #196A4A
square
#22196A #6A1938 #616A19 #196A4A
split-complementary
#22196A #6A4A19 #386A19
monochromatic
#080619 #120D38 #22196A #32259C #4230CD

Accessibility & contrast

On white

14.84
#22196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#22196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22196A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22196A#FFFFFF#000000##FFFFFF
##22196A1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #22196a;
/* rgb */ color: rgb(34, 25, 106);
/* oklch */ color: oklch(28.8% 0.133 278.9);
Tailwind
colors: {
  custom: {
    50: '#685796',
    500: '#22196a',
    950: '#000000',
  },
}
SCSS
$custom: #22196a;
$custom-light: #685796;
$custom-dark: #000000;
JSON
{
  "hex": "#22196a",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 246.667,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28807,
    "c": 0.13325,
    "h": 278.9
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#22196A
secondary
#95A03F
accent
#E543D3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #22196A

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

Preview Lab → · Contrast checker → · Palette generator →

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