#22519C#22519C

#22519C is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.133 H 259.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#22519C
RGBrgb(34, 81, 156)
HSLhsl(217, 64%, 37%)
HSVhsv(217, 78%, 61%)
CMYKcmyk(78.2%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.25, 11.95, -45.44)
CIE-LCHlch(35.25, 46.99, 284.74°)
OKLaboklab(44.56% -0.0242 -0.1305)
OKLCHoklch(44.56% 0.133 259.5)
XYZxyz(9.6007, 8.6241, 32.6047)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22519C #9C6D22
analogous
#228E9C #22519C #30229C
triadic
#22519C #9C2251 #519C22
tetradic
#22519C #9C228E #9C6D22 #229C30
square
#22519C #9C228E #9C6D22 #229C30
split-complementary
#22519C #9C3022 #8E9C22
monochromatic
#0C1D38 #17376A #22519C #2D6BCE #5D8EDC

Accessibility & contrast

On white

7.71
#22519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22519C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22519C#FFFFFF#000000##FFFFFF
##22519C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#034E9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #22519c;
/* rgb */ color: rgb(34, 81, 156);
/* oklch */ color: oklch(44.6% 0.133 259.5);
Tailwind
colors: {
  custom: {
    50: '#7081ba',
    500: '#22519c',
    950: '#000000',
  },
}
SCSS
$custom: #22519c;
$custom-light: #7081ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22519c",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 216.885,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44557,
    "c": 0.13271,
    "h": 259.5
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#22519C
secondary
#C0995A
accent
#A741E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #22519C

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

Preview Lab → · Contrast checker → · Palette generator →

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