#22189F#22189F

#22189F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.200 H 272.2°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#22189F
RGBrgb(34, 24, 159)
HSLhsl(244, 74%, 36%)
HSVhsv(244, 85%, 62%)
CMYKcmyk(78.6%, 84.9%, 0%, 37.6%)
CIE-LABlab(21.93, 48.49, -69.07)
CIE-LCHlch(21.93, 84.39, 305.07°)
OKLaboklab(34.85% 0.0075 -0.1998)
OKLCHoklch(34.85% 0.2 272.2)
XYZxyz(7.2422, 3.4958, 33.0872)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22189F #959F18
analogous
#18529F #22189F #65189F
triadic
#22189F #9F2218 #189F22
tetradic
#22189F #9F1852 #959F18 #189F65
square
#22189F #9F1852 #959F18 #189F65
split-complementary
#22189F #9F6518 #529F18
monochromatic
#0B0835 #17106A #22189F #2D20D4 #584DE4

Accessibility & contrast

On white

12.36
#22189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#22189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22189F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22189F#FFFFFF#000000##FFFFFF
##22189F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22189f;
/* rgb */ color: rgb(34, 24, 159);
/* oklch */ color: oklch(34.9% 0.200 272.2);
Tailwind
colors: {
  custom: {
    50: '#755abd',
    500: '#22189f',
    950: '#000000',
  },
}
SCSS
$custom: #22189f;
$custom-light: #755abd;
$custom-dark: #000000;
JSON
{
  "hex": "#22189f",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 244.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34852,
    "c": 0.19993,
    "h": 272.2
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#22189F
secondary
#BDC64D
accent
#F037E3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #22189F

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

Preview Lab → · Contrast checker → · Palette generator →

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