#22196E#22196E

#22196E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.139 H 278.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#22196E
RGBrgb(34, 25, 110)
HSLhsl(246, 63%, 26%)
HSVhsv(246, 77%, 43%)
CMYKcmyk(69.1%, 77.3%, 0%, 56.9%)
CIE-LABlab(16.31, 32.02, -47.51)
CIE-LCHlch(16.31, 57.29, 303.98°)
OKLaboklab(29.24% 0.0198 -0.1372)
OKLCHoklch(29.24% 0.139 278.2)
XYZxyz(3.8209, 2.1608, 14.9646)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22196E #656E19
analogous
#193B6E #22196E #4D196E
triadic
#22196E #6E2219 #196E22
tetradic
#22196E #6E193B #656E19 #196E4D
square
#22196E #6E193B #656E19 #196E4D
split-complementary
#22196E #6E4D19 #3B6E19
monochromatic
#080619 #130E3C #22196E #3124A0 #4231D0

Accessibility & contrast

On white

14.66
#22196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#22196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22196E
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22196E#FFFFFF#000000##FFFFFF
##22196E1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #22196e;
/* rgb */ color: rgb(34, 25, 110);
/* oklch */ color: oklch(29.2% 0.139 278.2);
Tailwind
colors: {
  custom: {
    50: '#695799',
    500: '#22196e',
    950: '#000000',
  },
}
SCSS
$custom: #22196e;
$custom-light: #695799;
$custom-dark: #000000;
JSON
{
  "hex": "#22196e",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 246.353,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29242,
    "c": 0.13862,
    "h": 278.2
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#22196E
secondary
#99A33F
accent
#E642D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22196E

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

Preview Lab → · Contrast checker → · Palette generator →

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