#22188A#22188A

#22188A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.175 H 274.3°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#22188A
RGBrgb(34, 24, 138)
HSLhsl(245, 70%, 32%)
HSVhsv(245, 83%, 54%)
CMYKcmyk(75.4%, 82.6%, 0%, 45.9%)
CIE-LABlab(19.34, 41.91, -60.37)
CIE-LCHlch(19.34, 73.49, 304.77°)
OKLaboklab(32.32% 0.0132 -0.1746)
OKLCHoklch(32.32% 0.175 274.3)
XYZxyz(5.5722, 2.8278, 24.2920)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22188A #808A18
analogous
#18478A #22188A #5B188A
triadic
#22188A #8A2218 #188A22
tetradic
#22188A #8A1847 #808A18 #188A5B
square
#22188A #8A1847 #808A18 #188A5B
split-complementary
#22188A #8A5B18 #478A18
monochromatic
#080622 #150F56 #22188A #2F21BE #4D3FDE

Accessibility & contrast

On white

13.41
#22188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22188A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22188A#FFFFFF#000000##FFFFFF
##22188A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.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: #22188a;
/* rgb */ color: rgb(34, 24, 138);
/* oklch */ color: oklch(32.3% 0.175 274.3);
Tailwind
colors: {
  custom: {
    50: '#7058ad',
    500: '#22188a',
    950: '#000000',
  },
}
SCSS
$custom: #22188a;
$custom-light: #7058ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22188a",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 245.263,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32317,
    "c": 0.17509,
    "h": 274.3
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#22188A
secondary
#B2BD40
accent
#ED3BDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #22188A

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

Preview Lab → · Contrast checker → · Palette generator →

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