#517FAC#517FAC

#517FAC is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.2% C 0.086 H 249.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#517FAC
RGBrgb(81, 127, 172)
HSLhsl(210, 36%, 50%)
HSVhsv(210, 53%, 67%)
CMYKcmyk(52.9%, 26.2%, 0%, 32.5%)
CIE-LABlab(51.73, -2.56, -28.69)
CIE-LCHlch(51.73, 28.80, 264.91°)
OKLaboklab(58.24% -0.0308 -0.0803)
OKLCHoklch(58.24% 0.086 249)
XYZxyz(18.4265, 19.9052, 41.8928)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FAC #AC7E51
analogous
#51ACAB #517FAC #5152AC
triadic
#517FAC #AC517F #7FAC51
tetradic
#517FAC #AB51AC #AC7E51 #52AC51
square
#517FAC #AB51AC #AC7E51 #52AC51
split-complementary
#517FAC #AC5152 #ACAB51
monochromatic
#2A4259 #3D6082 #517FAC #7A9DC0 #A3BCD4

Accessibility & contrast

On white

4.22
#517FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#517FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FAC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FAC#FFFFFF#000000##000000
##517FAC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AE
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#1E898E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517fac;
/* rgb */ color: rgb(81, 127, 172);
/* oklch */ color: oklch(58.2% 0.086 249.0);
Tailwind
colors: {
  custom: {
    50: '#88a4c5',
    500: '#517fac',
    950: '#000000',
  },
}
SCSS
$custom: #517fac;
$custom-light: #88a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#517fac",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 209.67,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.08605,
    "h": 249
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#517FAC
secondary
#C1AC98
accent
#935CCC
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #517FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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