#517EAF#517EAF

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

Color values

HEX#517EAF
RGBrgb(81, 126, 175)
HSLhsl(211, 37%, 50%)
HSVhsv(211, 54%, 69%)
CMYKcmyk(53.7%, 28%, 0%, 31.4%)
CIE-LABlab(51.57, -1.02, -30.67)
CIE-LCHlch(51.57, 30.69, 268.10°)
OKLaboklab(58.16% -0.0287 -0.086)
OKLCHoklch(58.16% 0.091 251.6)
XYZxyz(18.5893, 19.7647, 43.3845)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EAF #AF8251
analogous
#51ADAF #517EAF #5351AF
triadic
#517EAF #AF517E #7EAF51
tetradic
#517EAF #AF51AD #AF8251 #51AF53
square
#517EAF #AF51AD #AF8251 #51AF53
split-complementary
#517EAF #AF5351 #ADAF51
monochromatic
#2A425C #3D6085 #517EAF #7B9DC2 #A5BCD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517EAF#FFFFFF#000000##000000
##517EAF1.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)
#6A80B1
Deuteranopia (green-blind)
#5E77AE
Tritanopia (blue-blind)
#1B898F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517eaf;
/* rgb */ color: rgb(81, 126, 175);
/* oklch */ color: oklch(58.2% 0.091 251.6);
Tailwind
colors: {
  custom: {
    50: '#88a3c7',
    500: '#517eaf',
    950: '#000000',
  },
}
SCSS
$custom: #517eaf;
$custom-light: #88a3c7;
$custom-dark: #000000;
JSON
{
  "hex": "#517eaf",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 175
  },
  "hsl": {
    "h": 211.277,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.0907,
    "h": 251.6
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#517EAF
secondary
#C3AF99
accent
#965BCD
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #517EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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