#22519D#22519D

#22519D is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.134 H 259.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#22519D
RGBrgb(34, 81, 157)
HSLhsl(217, 64%, 37%)
HSVhsv(217, 78%, 62%)
CMYKcmyk(78.3%, 48.4%, 0%, 38.4%)
CIE-LABlab(35.32, 12.35, -45.94)
CIE-LCHlch(35.32, 47.57, 285.05°)
OKLaboklab(44.63% -0.024 -0.1319)
OKLCHoklch(44.63% 0.134 259.7)
XYZxyz(9.6857, 8.6581, 33.0525)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22519D #9D6E22
analogous
#228F9D #22519D #30229D
triadic
#22519D #9D2251 #519D22
tetradic
#22519D #9D228F #9D6E22 #229D30
square
#22519D #9D228F #9D6E22 #229D30
split-complementary
#22519D #9D3022 #8F9D22
monochromatic
#0C1D38 #17376B #22519D #2D6BCF #5D8EDC

Accessibility & contrast

On white

7.69
#22519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#22519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22519D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22519D#FFFFFF#000000##FFFFFF
##22519D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2759A0
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #22519d;
/* rgb */ color: rgb(34, 81, 157);
/* oklch */ color: oklch(44.6% 0.134 259.7);
Tailwind
colors: {
  custom: {
    50: '#7081ba',
    500: '#22519d',
    950: '#000000',
  },
}
SCSS
$custom: #22519d;
$custom-light: #7081ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22519d",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 217.073,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.1341,
    "h": 259.7
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#22519D
secondary
#C1995A
accent
#A840E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #22519D

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

Preview Lab → · Contrast checker → · Palette generator →

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