#517DAF#517DAF

#517DAF is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.9% C 0.092 H 252.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#517DAF
RGBrgb(81, 125, 175)
HSLhsl(212, 37%, 50%)
HSVhsv(212, 54%, 69%)
CMYKcmyk(53.7%, 28.6%, 0%, 31.4%)
CIE-LABlab(51.28, -0.43, -31.12)
CIE-LCHlch(51.28, 31.13, 269.21°)
OKLaboklab(57.93% -0.0275 -0.0874)
OKLCHoklch(57.93% 0.092 252.5)
XYZxyz(18.4621, 19.5103, 43.3421)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DAF #AF8351
analogous
#51ACAF #517DAF #5451AF
triadic
#517DAF #AF517D #7DAF51
tetradic
#517DAF #AF51AC #AF8351 #51AF54
square
#517DAF #AF51AC #AF8351 #51AF54
split-complementary
#517DAF #AF5451 #ACAF51
monochromatic
#2A415C #3D5F85 #517DAF #7B9CC2 #A5BCD6

Accessibility & contrast

On white

4.28
#517DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#517DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DAF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DAF#FFFFFF#000000##000000
##517DAF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FB1
Deuteranopia (green-blind)
#5D76AE
Tritanopia (blue-blind)
#1B888E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517daf;
/* rgb */ color: rgb(81, 125, 175);
/* oklch */ color: oklch(57.9% 0.092 252.5);
Tailwind
colors: {
  custom: {
    50: '#88a2c7',
    500: '#517daf',
    950: '#000000',
  },
}
SCSS
$custom: #517daf;
$custom-light: #88a2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#517daf",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 175
  },
  "hsl": {
    "h": 211.915,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.09159,
    "h": 252.5
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#517DAF
secondary
#C3AF99
accent
#985BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #517DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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