#22519F#22519F

#22519F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.137 H 260.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#22519F
RGBrgb(34, 81, 159)
HSLhsl(217, 65%, 38%)
HSVhsv(217, 79%, 62%)
CMYKcmyk(78.6%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.45, 13.14, -46.92)
CIE-LCHlch(35.45, 48.72, 285.64°)
OKLaboklab(44.78% -0.0237 -0.1348)
OKLCHoklch(44.78% 0.137 260)
XYZxyz(9.8579, 8.7270, 33.9591)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22519F #9F7022
analogous
#228F9F #22519F #31229F
triadic
#22519F #9F2251 #519F22
tetradic
#22519F #9F228F #9F7022 #229F31
square
#22519F #9F228F #9F7022 #229F31
split-complementary
#22519F #9F3122 #8F9F22
monochromatic
#0C1E3A #17376D #22519F #2D6BD1 #5F8EDD

Accessibility & contrast

On white

7.65
#22519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#22519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22519F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22519F#FFFFFF#000000##FFFFFF
##22519F1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #22519f;
/* rgb */ color: rgb(34, 81, 159);
/* oklch */ color: oklch(44.8% 0.137 260.0);
Tailwind
colors: {
  custom: {
    50: '#7181bc',
    500: '#22519f',
    950: '#000000',
  },
}
SCSS
$custom: #22519f;
$custom-light: #7181bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22519f",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 217.44,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44778,
    "c": 0.1369,
    "h": 260
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#22519F
secondary
#C19B5B
accent
#A940E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #22519F

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

Preview Lab → · Contrast checker → · Palette generator →

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