#22189E#22189E

#22189E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.199 H 272.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#22189E
RGBrgb(34, 24, 158)
HSLhsl(244, 74%, 36%)
HSVhsv(244, 85%, 62%)
CMYKcmyk(78.5%, 84.8%, 0%, 38%)
CIE-LABlab(21.80, 48.18, -68.66)
CIE-LCHlch(21.80, 83.88, 305.06°)
OKLaboklab(34.73% 0.0078 -0.1986)
OKLCHoklch(34.73% 0.199 272.3)
XYZxyz(7.1558, 3.4612, 32.6321)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22189E #949E18
analogous
#18519E #22189E #65189E
triadic
#22189E #9E2218 #189E22
tetradic
#22189E #9E1851 #949E18 #189E65
square
#22189E #9E1851 #949E18 #189E65
split-complementary
#22189E #9E6518 #519E18
monochromatic
#0B0834 #171069 #22189E #2D20D3 #584DE4

Accessibility & contrast

On white

12.41
#22189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#22189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22189E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22189E#FFFFFF#000000##FFFFFF
##22189E1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #22189e;
/* rgb */ color: rgb(34, 24, 158);
/* oklch */ color: oklch(34.7% 0.199 272.3);
Tailwind
colors: {
  custom: {
    50: '#755abc',
    500: '#22189e',
    950: '#000000',
  },
}
SCSS
$custom: #22189e;
$custom-light: #755abc;
$custom-dark: #000000;
JSON
{
  "hex": "#22189e",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 244.478,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34729,
    "c": 0.19877,
    "h": 272.3
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#22189E
secondary
#BDC64C
accent
#F038E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #22189E

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

Preview Lab → · Contrast checker → · Palette generator →

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