#517FA7#517FA7

#517FA7 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 58.0% C 0.080 H 246.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#517FA7
RGBrgb(81, 127, 167)
HSLhsl(208, 35%, 49%)
HSVhsv(208, 51%, 65%)
CMYKcmyk(51.5%, 24%, 0%, 34.5%)
CIE-LABlab(51.52, -4.12, -26.13)
CIE-LCHlch(51.52, 26.45, 261.04°)
OKLaboklab(58% -0.0325 -0.073)
OKLCHoklch(58% 0.08 246)
XYZxyz(17.9553, 19.7167, 39.4113)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FA7 #A77951
analogous
#51A7A4 #517FA7 #5154A7
triadic
#517FA7 #A7517F #7FA751
tetradic
#517FA7 #A451A7 #A77951 #54A751
square
#517FA7 #A451A7 #A77951 #54A751
split-complementary
#517FA7 #A75154 #A7A451
monochromatic
#294055 #3D607E #517FA7 #789DBD #A1BBD1

Accessibility & contrast

On white

4.25
#517FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#517FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FA7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FA7#FFFFFF#000000##000000
##517FA71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80A9
Deuteranopia (green-blind)
#6377A6
Tritanopia (blue-blind)
#24888D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517fa7;
/* rgb */ color: rgb(81, 127, 167);
/* oklch */ color: oklch(58.0% 0.080 246.0);
Tailwind
colors: {
  custom: {
    50: '#87a4c1',
    500: '#517fa7',
    950: '#000000',
  },
}
SCSS
$custom: #517fa7;
$custom-light: #87a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#517fa7",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 207.907,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.07988,
    "h": 246
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#517FA7
secondary
#BFA895
accent
#905DCB
background
#F8FAFB
surface
#F0F3F7
border
#CBCDD0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #517FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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