#22519B#22519B

#22519B is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.131 H 259.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#22519B
RGBrgb(34, 81, 155)
HSLhsl(217, 64%, 37%)
HSVhsv(217, 78%, 61%)
CMYKcmyk(78.1%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.18, 11.56, -44.95)
CIE-LCHlch(35.18, 46.41, 284.42°)
OKLaboklab(44.48% -0.0244 -0.129)
OKLCHoklch(44.48% 0.131 259.3)
XYZxyz(9.5164, 8.5904, 32.1606)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22519B #9B6C22
analogous
#228E9B #22519B #2F229B
triadic
#22519B #9B2251 #519B22
tetradic
#22519B #9B228E #9B6C22 #229B2F
square
#22519B #9B228E #9B6C22 #229B2F
split-complementary
#22519B #9B2F22 #8E9B22
monochromatic
#0C1D37 #173769 #22519B #2D6BCD #5C8EDB

Accessibility & contrast

On white

7.73
#22519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#22519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22519B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22519B#FFFFFF#000000##FFFFFF
##22519B1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#064E9A
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #22519b;
/* rgb */ color: rgb(34, 81, 155);
/* oklch */ color: oklch(44.5% 0.131 259.3);
Tailwind
colors: {
  custom: {
    50: '#7081b9',
    500: '#22519b',
    950: '#000000',
  },
}
SCSS
$custom: #22519b;
$custom-light: #7081b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22519b",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 216.694,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.13131,
    "h": 259.3
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#22519B
secondary
#C09859
accent
#A641E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #22519B

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

Preview Lab → · Contrast checker → · Palette generator →

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