#22196C#22196C

#22196C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.136 H 278.6°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#22196C
RGBrgb(34, 25, 108)
HSLhsl(247, 62%, 26%)
HSVhsv(247, 77%, 42%)
CMYKcmyk(68.5%, 76.9%, 0%, 57.6%)
CIE-LABlab(16.09, 31.32, -46.56)
CIE-LCHlch(16.09, 56.12, 303.93°)
OKLaboklab(29.02% 0.0203 -0.1344)
OKLCHoklch(29.02% 0.136 278.6)
XYZxyz(3.7132, 2.1177, 14.3975)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22196C #636C19
analogous
#19396C #22196C #4B196C
triadic
#22196C #6C2219 #196C22
tetradic
#22196C #6C1939 #636C19 #196C4B
square
#22196C #6C1939 #636C19 #196C4B
split-complementary
#22196C #6C4B19 #396C19
monochromatic
#080619 #120D3A #22196C #32259E #4130CF

Accessibility & contrast

On white

14.75
#22196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22196C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22196C#FFFFFF#000000##FFFFFF
##22196C1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00256A
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #22196c;
/* rgb */ color: rgb(34, 25, 108);
/* oklch */ color: oklch(29.0% 0.136 278.6);
Tailwind
colors: {
  custom: {
    50: '#685797',
    500: '#22196c',
    950: '#000000',
  },
}
SCSS
$custom: #22196c;
$custom-light: #685797;
$custom-dark: #000000;
JSON
{
  "hex": "#22196c",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 246.506,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29023,
    "c": 0.13594,
    "h": 278.6
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#22196C
secondary
#97A13F
accent
#E542D4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22196C

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

Preview Lab → · Contrast checker → · Palette generator →

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