#22199E#22199E

#22199E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.198 H 272.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#22199E
RGBrgb(34, 25, 158)
HSLhsl(244, 73%, 36%)
HSVhsv(244, 84%, 62%)
CMYKcmyk(78.5%, 84.2%, 0%, 38%)
CIE-LABlab(21.96, 47.73, -68.41)
CIE-LCHlch(21.96, 83.42, 304.90°)
OKLaboklab(34.83% 0.0076 -0.1979)
OKLCHoklch(34.83% 0.198 272.2)
XYZxyz(7.1768, 3.5032, 32.6391)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22199E #959E19
analogous
#19529E #22199E #64199E
triadic
#22199E #9E2219 #199E22
tetradic
#22199E #9E1952 #959E19 #199E64
square
#22199E #9E1952 #959E19 #199E64
split-complementary
#22199E #9E6419 #529E19
monochromatic
#0B0834 #171169 #22199E #2D21D3 #584EE3

Accessibility & contrast

On white

12.35
#22199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#22199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22199E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22199E#FFFFFF#000000##FFFFFF
##22199E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22199e;
/* rgb */ color: rgb(34, 25, 158);
/* oklch */ color: oklch(34.8% 0.198 272.2);
Tailwind
colors: {
  custom: {
    50: '#755abc',
    500: '#22199e',
    950: '#000000',
  },
}
SCSS
$custom: #22199e;
$custom-light: #755abc;
$custom-dark: #000000;
JSON
{
  "hex": "#22199e",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 244.06,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.19805,
    "h": 272.2
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#22199E
secondary
#BDC54E
accent
#EF38E3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #22199E

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

Preview Lab → · Contrast checker → · Palette generator →

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