#517DAA#517DAA

#517DAA is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.7% C 0.085 H 250.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#517DAA
RGBrgb(81, 125, 170)
HSLhsl(210, 35%, 49%)
HSVhsv(210, 52%, 67%)
CMYKcmyk(52.4%, 26.5%, 0%, 33.3%)
CIE-LABlab(51.06, -2.01, -28.58)
CIE-LCHlch(51.06, 28.65, 265.97°)
OKLaboklab(57.68% -0.0291 -0.08)
OKLCHoklch(57.68% 0.085 250)
XYZxyz(17.9801, 19.3175, 40.8036)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DAA #AA7E51
analogous
#51AAAA #517DAA #5251AA
triadic
#517DAA #AA517D #7DAA51
tetradic
#517DAA #AA51AA #AA7E51 #51AA52
square
#517DAA #AA51AA #AA7E51 #51AA52
split-complementary
#517DAA #AA5251 #AAAA51
monochromatic
#2A4057 #3D5F81 #517DAA #799CBF #A2BAD3

Accessibility & contrast

On white

4.32
#517DAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#517DAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DAA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DAA#FFFFFF#000000##000000
##517DAA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAC
Deuteranopia (green-blind)
#5F76A9
Tritanopia (blue-blind)
#22878D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517daa;
/* rgb */ color: rgb(81, 125, 170);
/* oklch */ color: oklch(57.7% 0.085 250.0);
Tailwind
colors: {
  custom: {
    50: '#87a2c3',
    500: '#517daa',
    950: '#000000',
  },
}
SCSS
$custom: #517daa;
$custom-light: #87a2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#517daa",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 170
  },
  "hsl": {
    "h": 210.337,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.08513,
    "h": 250
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#517DAA
secondary
#C0AC97
accent
#955CCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F12
muted
#7D7E81

Preview Lab

Preview with #517DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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