#517FAF#517FAF

#517FAF is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 58.4% C 0.090 H 250.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#517FAF
RGBrgb(81, 127, 175)
HSLhsl(211, 37%, 50%)
HSVhsv(211, 54%, 69%)
CMYKcmyk(53.7%, 27.4%, 0%, 31.4%)
CIE-LABlab(51.86, -1.61, -30.22)
CIE-LCHlch(51.86, 30.26, 266.95°)
OKLaboklab(58.39% -0.0299 -0.0847)
OKLCHoklch(58.39% 0.09 250.6)
XYZxyz(18.7179, 20.0217, 43.4273)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FAF #AF8151
analogous
#51AEAF #517FAF #5251AF
triadic
#517FAF #AF517F #7FAF51
tetradic
#517FAF #AF51AE #AF8151 #51AF52
square
#517FAF #AF51AE #AF8151 #51AF52
split-complementary
#517FAF #AF5251 #AEAF51
monochromatic
#2A425C #3D6185 #517FAF #7B9EC2 #A5BDD6

Accessibility & contrast

On white

4.20
#517FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#517FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FAF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FAF#FFFFFF#000000##000000
##517FAF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B81B1
Deuteranopia (green-blind)
#5F77AE
Tritanopia (blue-blind)
#1A8A90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517faf;
/* rgb */ color: rgb(81, 127, 175);
/* oklch */ color: oklch(58.4% 0.090 250.6);
Tailwind
colors: {
  custom: {
    50: '#88a3c7',
    500: '#517faf',
    950: '#000000',
  },
}
SCSS
$custom: #517faf;
$custom-light: #88a3c7;
$custom-dark: #000000;
JSON
{
  "hex": "#517faf",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 210.638,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58388,
    "c": 0.08985,
    "h": 250.6
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#517FAF
secondary
#C3AE99
accent
#955BCD
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #517FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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