#517FC0#517FC0

#517FC0 is a mid, moderate blue. Relative luminance 0.207; OKLCH L 59.3% C 0.112 H 257.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#517FC0
RGBrgb(81, 127, 192)
HSLhsl(215, 47%, 54%)
HSVhsv(215, 58%, 75%)
CMYKcmyk(57.8%, 33.9%, 0%, 24.7%)
CIE-LABlab(52.66, 3.90, -38.74)
CIE-LCHlch(52.66, 38.93, 275.74°)
OKLaboklab(59.27% -0.0249 -0.1094)
OKLCHoklch(59.27% 0.112 257.2)
XYZxyz(20.4938, 20.7321, 52.7807)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FC0 #C09251
analogous
#51B6C0 #517FC0 #5A51C0
triadic
#517FC0 #C0517F #7FC051
tetradic
#517FC0 #C051B6 #C09251 #51C05A
square
#517FC0 #C051B6 #C09251 #51C05A
split-complementary
#517FC0 #C05A51 #B6C051
monochromatic
#28456F #38619B #517FC0 #7EA0D0 #ABC1E1

Accessibility & contrast

On white

4.08
#517FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#517FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FC0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FC0#FFFFFF#000000##000000
##517FC01.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C3
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517fc0;
/* rgb */ color: rgb(81, 127, 192);
/* oklch */ color: oklch(59.3% 0.112 257.2);
Tailwind
colors: {
  custom: {
    50: '#8aa3d3',
    500: '#517fc0',
    950: '#000000',
  },
}
SCSS
$custom: #517fc0;
$custom-light: #8aa3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#517fc0",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 192
  },
  "hsl": {
    "h": 215.135,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.11224,
    "h": 257.2
  },
  "luminance": 0.20734
}

Semantic roles & 50–950 ramp

primary
#517FC0
secondary
#CEBA9F
accent
#9F51D6
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #517FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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