#22188D#22188D

#22188D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.179 H 274.0°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#22188D
RGBrgb(34, 24, 141)
HSLhsl(245, 71%, 32%)
HSVhsv(245, 83%, 55%)
CMYKcmyk(75.9%, 83%, 0%, 44.7%)
CIE-LABlab(19.70, 42.87, -61.64)
CIE-LCHlch(19.70, 75.08, 304.82°)
OKLaboklab(32.67% 0.0124 -0.1783)
OKLCHoklch(32.67% 0.179 274)
XYZxyz(5.7924, 2.9158, 25.4517)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22188D #838D18
analogous
#18498D #22188D #5C188D
triadic
#22188D #8D2218 #188D22
tetradic
#22188D #8D1849 #838D18 #188D5C
square
#22188D #8D1849 #838D18 #188D5C
split-complementary
#22188D #8D5C18 #498D18
monochromatic
#090624 #150F59 #22188D #2F21C1 #4E41DF

Accessibility & contrast

On white

13.26
#22188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#22188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22188D
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22188D#FFFFFF#000000##FFFFFF
##22188D1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #22188d;
/* rgb */ color: rgb(34, 24, 141);
/* oklch */ color: oklch(32.7% 0.179 274.0);
Tailwind
colors: {
  custom: {
    50: '#7159b0',
    500: '#22188d',
    950: '#000000',
  },
}
SCSS
$custom: #22188d;
$custom-light: #7159b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22188d",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 245.128,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32674,
    "c": 0.17872,
    "h": 274
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#22188D
secondary
#B4BF42
accent
#EE3ADE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #22188D

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

Preview Lab → · Contrast checker → · Palette generator →

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