#517FD6#517FD6

#517FD6 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.142 H 262.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#517FD6
RGBrgb(81, 127, 214)
HSLhsl(219, 62%, 58%)
HSVhsv(219, 62%, 84%)
CMYKcmyk(62.1%, 40.7%, 0%, 16.1%)
CIE-LABlab(53.79, 11.27, -49.43)
CIE-LCHlch(53.79, 50.70, 282.84°)
OKLaboklab(60.53% -0.0198 -0.1407)
OKLCHoklch(60.53% 0.142 262)
XYZxyz(23.1161, 21.7810, 66.5913)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FD6 #D6A851
analogous
#51C1D6 #517FD6 #6551D6
triadic
#517FD6 #D6517F #7FD651
tetradic
#517FD6 #D651C1 #D6A851 #51D665
square
#517FD6 #D651C1 #D6A851 #51D665
split-complementary
#517FD6 #D66551 #C1D651
monochromatic
#21468C #2D5FBD #517FD6 #83A3E2 #B4C8ED

Accessibility & contrast

On white

3.92
#517FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#517FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FD6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FD6#FFFFFF#000000##000000
##517FD61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887D9
Deuteranopia (green-blind)
#457BD4
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517fd6;
/* rgb */ color: rgb(81, 127, 214);
/* oklch */ color: oklch(60.5% 0.142 262.0);
Tailwind
colors: {
  custom: {
    50: '#8da3e3',
    500: '#517fd6',
    950: '#000000',
  },
}
SCSS
$custom: #517fd6;
$custom-light: #8da3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#517fd6",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 214
  },
  "hsl": {
    "h": 219.248,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.14208,
    "h": 262
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#517FD6
secondary
#DCCAA7
accent
#AD43E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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