#517ABD#517ABD

#517ABD is a mid, moderate blue. Relative luminance 0.193; OKLCH L 58.0% C 0.113 H 259.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#517ABD
RGBrgb(81, 122, 189)
HSLhsl(217, 45%, 53%)
HSVhsv(217, 57%, 74%)
CMYKcmyk(57.1%, 35.4%, 0%, 25.9%)
CIE-LABlab(51.08, 5.92, -39.50)
CIE-LCHlch(51.08, 39.94, 278.52°)
OKLaboklab(58% -0.0201 -0.1117)
OKLCHoklch(58% 0.113 259.8)
XYZxyz(19.5350, 19.3409, 50.8380)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ABD #BD9451
analogous
#51B0BD #517ABD #5E51BD
triadic
#517ABD #BD517A #7ABD51
tetradic
#517ABD #BD51B0 #BD9451 #51BD5E
square
#517ABD #BD51B0 #BD9451 #51BD5E
split-complementary
#517ABD #BD5E51 #B0BD51
monochromatic
#29426B #395D97 #517ABD #7D9CCE #AABEDF

Accessibility & contrast

On white

4.31
#517ABD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#517ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ABD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ABD#FFFFFF#000000##000000
##517ABD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#5175BC
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517abd;
/* rgb */ color: rgb(81, 122, 189);
/* oklch */ color: oklch(58.0% 0.113 259.8);
Tailwind
colors: {
  custom: {
    50: '#8aa0d1',
    500: '#517abd',
    950: '#000000',
  },
}
SCSS
$custom: #517abd;
$custom-light: #8aa0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#517abd",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 217.222,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57997,
    "c": 0.11348,
    "h": 259.8
  },
  "luminance": 0.19343
}

Semantic roles & 50–950 ramp

primary
#517ABD
secondary
#CCBB9E
accent
#A353D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #517ABD

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

Preview Lab → · Contrast checker → · Palette generator →

#517ABD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva