#517ABB#517ABB

#517ABB is a mid, moderate blue. Relative luminance 0.193; OKLCH L 57.9% C 0.111 H 259.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#517ABB
RGBrgb(81, 122, 187)
HSLhsl(217, 44%, 53%)
HSVhsv(217, 57%, 73%)
CMYKcmyk(56.7%, 34.8%, 0%, 26.7%)
CIE-LABlab(50.98, 5.26, -38.50)
CIE-LCHlch(50.98, 38.86, 277.78°)
OKLaboklab(57.89% -0.0206 -0.1088)
OKLCHoklch(57.89% 0.111 259.3)
XYZxyz(19.3194, 19.2547, 49.7025)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ABB #BB9251
analogous
#51AFBB #517ABB #5D51BB
triadic
#517ABB #BB517A #7ABB51
tetradic
#517ABB #BB51AF #BB9251 #51BB5D
square
#517ABB #BB51AF #BB9251 #51BB5D
split-complementary
#517ABB #BB5D51 #AFBB51
monochromatic
#294269 #3A5D95 #517ABB #7D9CCC #A9BDDD

Accessibility & contrast

On white

4.33
#517ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#517ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ABB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ABB#FFFFFF#000000##000000
##517ABB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #517abb;
/* rgb */ color: rgb(81, 122, 187);
/* oklch */ color: oklch(57.9% 0.111 259.3);
Tailwind
colors: {
  custom: {
    50: '#8aa0d0',
    500: '#517abb',
    950: '#000000',
  },
}
SCSS
$custom: #517abb;
$custom-light: #8aa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#517abb",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 216.792,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.11073,
    "h": 259.3
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#517ABB
secondary
#CBB99D
accent
#A254D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #517ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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