#22198E#22198E

#22198E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.179 H 273.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#22198E
RGBrgb(34, 25, 142)
HSLhsl(245, 70%, 33%)
HSVhsv(245, 82%, 56%)
CMYKcmyk(76.1%, 82.4%, 0%, 44.3%)
CIE-LABlab(19.99, 42.69, -61.78)
CIE-LCHlch(19.99, 75.10, 304.64°)
OKLaboklab(32.91% 0.0117 -0.1787)
OKLCHoklch(32.91% 0.179 273.8)
XYZxyz(5.8882, 2.9877, 25.8523)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22198E #858E19
analogous
#194B8E #22198E #5C198E
triadic
#22198E #8E2219 #198E22
tetradic
#22198E #8E194B #858E19 #198E5C
square
#22198E #8E194B #858E19 #198E5C
split-complementary
#22198E #8E5C19 #4B8E19
monochromatic
#090726 #16105A #22198E #2E22C2 #4F43DE

Accessibility & contrast

On white

13.14
#22198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#22198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22198E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22198E#FFFFFF#000000##FFFFFF
##22198E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #22198e;
/* rgb */ color: rgb(34, 25, 142);
/* oklch */ color: oklch(32.9% 0.179 273.8);
Tailwind
colors: {
  custom: {
    50: '#7159b0',
    500: '#22198e',
    950: '#000000',
  },
}
SCSS
$custom: #22198e;
$custom-light: #7159b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22198e",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 244.615,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32911,
    "c": 0.1791,
    "h": 273.8
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22198E

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

Preview Lab → · Contrast checker → · Palette generator →

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