#22198D#22198D

#22198D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.178 H 273.9°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#22198D
RGBrgb(34, 25, 141)
HSLhsl(245, 70%, 33%)
HSVhsv(245, 82%, 55%)
CMYKcmyk(75.9%, 82.3%, 0%, 44.7%)
CIE-LABlab(19.87, 42.37, -61.36)
CIE-LCHlch(19.87, 74.57, 304.63°)
OKLaboklab(32.79% 0.012 -0.1775)
OKLCHoklch(32.79% 0.178 273.9)
XYZxyz(5.8134, 2.9578, 25.4587)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22198D #848D19
analogous
#194A8D #22198D #5C198D
triadic
#22198D #8D2219 #198D22
tetradic
#22198D #8D194A #848D19 #198D5C
square
#22198D #8D194A #848D19 #198D5C
split-complementary
#22198D #8D5C19 #4A8D19
monochromatic
#090725 #151059 #22198D #2F22C1 #4F43DE

Accessibility & contrast

On white

13.19
#22198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#22198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22198D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22198D#FFFFFF#000000##FFFFFF
##22198D1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #22198d;
/* rgb */ color: rgb(34, 25, 141);
/* oklch */ color: oklch(32.8% 0.178 273.9);
Tailwind
colors: {
  custom: {
    50: '#7159b0',
    500: '#22198d',
    950: '#000000',
  },
}
SCSS
$custom: #22198d;
$custom-light: #7159b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22198d",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 244.655,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.1779,
    "h": 273.9
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#22198D
secondary
#B5BF43
accent
#ED3BDF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #22198D

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

Preview Lab → · Contrast checker → · Palette generator →

#22198D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva