#517FA8#517FA8

#517FA8 is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.0% C 0.081 H 246.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#517FA8
RGBrgb(81, 127, 168)
HSLhsl(208, 35%, 49%)
HSVhsv(208, 52%, 66%)
CMYKcmyk(51.8%, 24.4%, 0%, 34.1%)
CIE-LABlab(51.56, -3.81, -26.64)
CIE-LCHlch(51.56, 26.91, 261.86°)
OKLaboklab(58.05% -0.0322 -0.0744)
OKLCHoklch(58.05% 0.081 246.6)
XYZxyz(18.0481, 19.7538, 39.9000)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FA8 #A87A51
analogous
#51A8A6 #517FA8 #5154A8
triadic
#517FA8 #A8517F #7FA851
tetradic
#517FA8 #A651A8 #A87A51 #54A851
square
#517FA8 #A651A8 #A87A51 #54A851
split-complementary
#517FA8 #A85154 #A8A651
monochromatic
#294155 #3D607F #517FA8 #789DBE #A1BBD2

Accessibility & contrast

On white

4.24
#517FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#517FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FA8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FA8#FFFFFF#000000##000000
##517FA81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80AA
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#23898D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517fa8;
/* rgb */ color: rgb(81, 127, 168);
/* oklch */ color: oklch(58.0% 0.081 246.6);
Tailwind
colors: {
  custom: {
    50: '#87a4c2',
    500: '#517fa8',
    950: '#000000',
  },
}
SCSS
$custom: #517fa8;
$custom-light: #87a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#517fa8",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 208.276,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.0811,
    "h": 246.6
  },
  "luminance": 0.19755
}

Semantic roles & 50–950 ramp

primary
#517FA8
secondary
#BFA996
accent
#915DCB
background
#F8FAFB
surface
#F0F3F7
border
#CBCDD0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #517FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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