#22196B#22196B

#22196B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.135 H 278.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#22196B
RGBrgb(34, 25, 107)
HSLhsl(247, 62%, 26%)
HSVhsv(247, 77%, 42%)
CMYKcmyk(68.2%, 76.6%, 0%, 58%)
CIE-LABlab(15.99, 30.98, -46.08)
CIE-LCHlch(15.99, 55.53, 303.91°)
OKLaboklab(28.92% 0.0205 -0.133)
OKLCHoklch(28.92% 0.135 278.8)
XYZxyz(3.6603, 2.0966, 14.1189)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22196B #626B19
analogous
#19396B #22196B #4B196B
triadic
#22196B #6B2219 #196B22
tetradic
#22196B #6B1939 #626B19 #196B4B
square
#22196B #6B1939 #626B19 #196B4B
split-complementary
#22196B #6B4B19 #396B19
monochromatic
#080619 #120D39 #22196B #32259D #4230CE

Accessibility & contrast

On white

14.79
#22196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22196B
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22196B#FFFFFF#000000##FFFFFF
##22196B1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22196b;
/* rgb */ color: rgb(34, 25, 107);
/* oklch */ color: oklch(28.9% 0.135 278.8);
Tailwind
colors: {
  custom: {
    50: '#685796',
    500: '#22196b',
    950: '#000000',
  },
}
SCSS
$custom: #22196b;
$custom-light: #685796;
$custom-dark: #000000;
JSON
{
  "hex": "#22196b",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 246.585,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28915,
    "c": 0.1346,
    "h": 278.8
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#22196B
secondary
#96A13F
accent
#E543D3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #22196B

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

Preview Lab → · Contrast checker → · Palette generator →

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