#22139A#22139A

#22139A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.8% C 0.198 H 272.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#22139A
RGBrgb(34, 19, 154)
HSLhsl(247, 78%, 34%)
HSVhsv(247, 88%, 60%)
CMYKcmyk(77.9%, 87.7%, 0%, 39.6%)
CIE-LABlab(20.59, 49.07, -68.23)
CIE-LCHlch(20.59, 84.04, 305.73°)
OKLaboklab(33.75% 0.01 -0.1973)
OKLCHoklch(33.75% 0.198 272.9)
XYZxyz(6.7233, 3.1382, 30.8170)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22139A #8B9A13
analogous
#13489A #22139A #66139A
triadic
#22139A #9A2213 #139A22
tetradic
#22139A #9A1348 #8B9A13 #139A66
square
#22139A #9A1348 #8B9A13 #139A66
split-complementary
#22139A #9A6613 #489A13
monochromatic
#0A062D #160C64 #22139A #2E1AD0 #5340E7

Accessibility & contrast

On white

12.90
#22139A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#22139A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22139A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22139A#FFFFFF#000000##FFFFFF
##22139A1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389E
Deuteranopia (green-blind)
#002B98
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #22139a;
/* rgb */ color: rgb(34, 19, 154);
/* oklch */ color: oklch(33.8% 0.198 272.9);
Tailwind
colors: {
  custom: {
    50: '#7457b9',
    500: '#22139a',
    950: '#000000',
  },
}
SCSS
$custom: #22139a;
$custom-light: #7457b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22139a",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 154
  },
  "hsl": {
    "h": 246.667,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33751,
    "c": 0.19752,
    "h": 272.9
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#22139A
secondary
#B8C741
accent
#F533DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #22139A

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

Preview Lab → · Contrast checker → · Palette generator →

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