#22196F#22196F

#22196F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.140 H 278.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#22196F
RGBrgb(34, 25, 111)
HSLhsl(246, 63%, 27%)
HSVhsv(246, 77%, 44%)
CMYKcmyk(69.4%, 77.5%, 0%, 56.5%)
CIE-LABlab(16.42, 32.36, -47.98)
CIE-LCHlch(16.42, 57.87, 304.00°)
OKLaboklab(29.35% 0.0196 -0.1386)
OKLCHoklch(29.35% 0.14 278.1)
XYZxyz(3.8756, 2.1827, 15.2529)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22196F #666F19
analogous
#193B6F #22196F #4D196F
triadic
#22196F #6F2219 #196F22
tetradic
#22196F #6F193B #666F19 #196F4D
square
#22196F #6F193B #666F19 #196F4D
split-complementary
#22196F #6F4D19 #3B6F19
monochromatic
#080619 #130E3D #22196F #3124A1 #4232D1

Accessibility & contrast

On white

14.62
#22196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#22196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22196F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22196F#FFFFFF#000000##FFFFFF
##22196F1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #22196f;
/* rgb */ color: rgb(34, 25, 111);
/* oklch */ color: oklch(29.4% 0.140 278.1);
Tailwind
colors: {
  custom: {
    50: '#695799',
    500: '#22196f',
    950: '#000000',
  },
}
SCSS
$custom: #22196f;
$custom-light: #695799;
$custom-dark: #000000;
JSON
{
  "hex": "#22196f",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 246.279,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29351,
    "c": 0.13994,
    "h": 278.1
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#22196F
secondary
#9AA43F
accent
#E642D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22196F

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

Preview Lab → · Contrast checker → · Palette generator →

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