#22198F#22198F

#22198F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.180 H 273.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#22198F
RGBrgb(34, 25, 143)
HSLhsl(245, 70%, 33%)
HSVhsv(245, 83%, 56%)
CMYKcmyk(76.2%, 82.5%, 0%, 43.9%)
CIE-LABlab(20.12, 43.01, -62.21)
CIE-LCHlch(20.12, 75.63, 304.66°)
OKLaboklab(33.03% 0.0115 -0.1799)
OKLCHoklch(33.03% 0.18 273.6)
XYZxyz(5.9636, 3.0179, 26.2495)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22198F #868F19
analogous
#194B8F #22198F #5D198F
triadic
#22198F #8F2219 #198F22
tetradic
#22198F #8F194B #868F19 #198F5D
square
#22198F #8F194B #868F19 #198F5D
split-complementary
#22198F #8F5D19 #4B8F19
monochromatic
#090727 #16105B #22198F #2E22C3 #5044DE

Accessibility & contrast

On white

13.09
#22198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22198F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22198F#FFFFFF#000000##FFFFFF
##22198F1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #22198f;
/* rgb */ color: rgb(34, 25, 143);
/* oklch */ color: oklch(33.0% 0.180 273.6);
Tailwind
colors: {
  custom: {
    50: '#7159b1',
    500: '#22198f',
    950: '#000000',
  },
}
SCSS
$custom: #22198f;
$custom-light: #7159b1;
$custom-dark: #000000;
JSON
{
  "hex": "#22198f",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 244.576,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3303,
    "c": 0.18031,
    "h": 273.6
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22198F

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

Preview Lab → · Contrast checker → · Palette generator →

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