#22199F#22199F

#22199F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.0% C 0.199 H 272.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#22199F
RGBrgb(34, 25, 159)
HSLhsl(244, 73%, 36%)
HSVhsv(244, 84%, 62%)
CMYKcmyk(78.6%, 84.3%, 0%, 37.6%)
CIE-LABlab(22.08, 48.04, -68.82)
CIE-LCHlch(22.08, 83.92, 304.92°)
OKLaboklab(34.96% 0.0073 -0.1991)
OKLCHoklch(34.96% 0.199 272.1)
XYZxyz(7.2632, 3.5377, 33.0942)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22199F #969F19
analogous
#19539F #22199F #65199F
triadic
#22199F #9F2219 #199F22
tetradic
#22199F #9F1953 #969F19 #199F65
square
#22199F #9F1953 #969F19 #199F65
split-complementary
#22199F #9F6519 #539F19
monochromatic
#0B0835 #17116A #22199F #2D21D4 #594FE3

Accessibility & contrast

On white

12.30
#22199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#22199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22199F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22199F#FFFFFF#000000##FFFFFF
##22199F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22199f;
/* rgb */ color: rgb(34, 25, 159);
/* oklch */ color: oklch(35.0% 0.199 272.1);
Tailwind
colors: {
  custom: {
    50: '#755bbd',
    500: '#22199f',
    950: '#000000',
  },
}
SCSS
$custom: #22199f;
$custom-light: #755bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#22199f",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 244.03,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34956,
    "c": 0.19921,
    "h": 272.1
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#22199F
secondary
#BEC64E
accent
#F038E3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #22199F

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

Preview Lab → · Contrast checker → · Palette generator →

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