#22519A#22519A

#22519A is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.130 H 259.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#22519A
RGBrgb(34, 81, 154)
HSLhsl(217, 64%, 37%)
HSVhsv(217, 78%, 60%)
CMYKcmyk(77.9%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.12, 11.16, -44.45)
CIE-LCHlch(35.12, 45.83, 284.09°)
OKLaboklab(44.41% -0.0245 -0.1276)
OKLCHoklch(44.41% 0.13 259.1)
XYZxyz(9.4327, 8.5569, 31.7201)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22519A #9A6B22
analogous
#228D9A #22519A #2F229A
triadic
#22519A #9A2251 #519A22
tetradic
#22519A #9A228D #9A6B22 #229A2F
square
#22519A #9A228D #9A6B22 #229A2F
split-complementary
#22519A #9A2F22 #8D9A22
monochromatic
#0C1C36 #173768 #22519A #2D6BCC #5B8DDB

Accessibility & contrast

On white

7.74
#22519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#22519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22519A
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22519A#FFFFFF#000000##FFFFFF
##22519A1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589D
Deuteranopia (green-blind)
#0A4D99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #22519a;
/* rgb */ color: rgb(34, 81, 154);
/* oklch */ color: oklch(44.4% 0.130 259.1);
Tailwind
colors: {
  custom: {
    50: '#6f81b8',
    500: '#22519a',
    950: '#000000',
  },
}
SCSS
$custom: #22519a;
$custom-light: #6f81b8;
$custom-dark: #000000;
JSON
{
  "hex": "#22519a",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 216.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.12991,
    "h": 259.1
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#22519A
secondary
#BF9758
accent
#A641E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #22519A

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

Preview Lab → · Contrast checker → · Palette generator →

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