#517AB2#517AB2

#517AB2 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.4% C 0.098 H 256.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#517AB2
RGBrgb(81, 122, 178)
HSLhsl(215, 39%, 51%)
HSVhsv(215, 54%, 70%)
CMYKcmyk(54.5%, 31.5%, 0%, 30.2%)
CIE-LABlab(50.55, 2.32, -34.00)
CIE-LCHlch(50.55, 34.08, 273.91°)
OKLaboklab(57.4% -0.0231 -0.0957)
OKLCHoklch(57.4% 0.098 256.5)
XYZxyz(18.3860, 18.8813, 44.7864)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AB2 #B28951
analogous
#51AAB2 #517AB2 #5851B2
triadic
#517AB2 #B2517A #7AB251
tetradic
#517AB2 #B251AA #B28951 #51B258
square
#517AB2 #B251AA #B28951 #51B258
split-complementary
#517AB2 #B25851 #AAB251
monochromatic
#2A405F #3D5D89 #517AB2 #7B9AC5 #A6BBD8

Accessibility & contrast

On white

4.40
#517AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#517AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AB2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AB2#FFFFFF#000000##000000
##517AB21.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB4
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#17878E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #517ab2;
/* rgb */ color: rgb(81, 122, 178);
/* oklch */ color: oklch(57.4% 0.098 256.5);
Tailwind
colors: {
  custom: {
    50: '#88a0c9',
    500: '#517ab2',
    950: '#000000',
  },
}
SCSS
$custom: #517ab2;
$custom-light: #88a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#517ab2",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 214.639,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.09845,
    "h": 256.5
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

primary
#517AB2
secondary
#C5B39A
accent
#9D59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #517AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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