#22198A#22198A

#22198A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.174 H 274.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#22198A
RGBrgb(34, 25, 138)
HSLhsl(245, 69%, 32%)
HSVhsv(245, 82%, 54%)
CMYKcmyk(75.4%, 81.9%, 0%, 45.9%)
CIE-LABlab(19.51, 41.40, -60.08)
CIE-LCHlch(19.51, 72.96, 304.57°)
OKLaboklab(32.44% 0.0128 -0.1738)
OKLCHoklch(32.44% 0.174 274.2)
XYZxyz(5.5932, 2.8698, 24.2990)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22198A #818A19
analogous
#19498A #22198A #5B198A
triadic
#22198A #8A2219 #198A22
tetradic
#22198A #8A1949 #818A19 #198A5B
square
#22198A #8A1949 #818A19 #198A5B
split-complementary
#22198A #8A5B19 #498A19
monochromatic
#080622 #151056 #22198A #2F22BE #4D41DD

Accessibility & contrast

On white

13.34
#22198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#22198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22198A
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22198A#FFFFFF#000000##FFFFFF
##22198A1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22198a;
/* rgb */ color: rgb(34, 25, 138);
/* oklch */ color: oklch(32.4% 0.174 274.2);
Tailwind
colors: {
  custom: {
    50: '#7059ad',
    500: '#22198a',
    950: '#000000',
  },
}
SCSS
$custom: #22198a;
$custom-light: #7059ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22198a",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 244.779,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.17424,
    "h": 274.2
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#22198A
secondary
#B3BD42
accent
#EC3CDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #22198A

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

Preview Lab → · Contrast checker → · Palette generator →

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