#517FDA#517FDA

#517FDA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.148 H 262.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#517FDA
RGBrgb(81, 127, 218)
HSLhsl(220, 65%, 59%)
HSVhsv(220, 63%, 85%)
CMYKcmyk(62.8%, 41.7%, 0%, 14.5%)
CIE-LABlab(54.01, 12.63, -51.33)
CIE-LCHlch(54.01, 52.86, 283.82°)
OKLaboklab(60.77% -0.019 -0.1463)
OKLCHoklch(60.77% 0.148 262.6)
XYZxyz(23.6332, 21.9879, 69.3147)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FDA #DAAC51
analogous
#51C3DA #517FDA #6751DA
triadic
#517FDA #DA517F #7FDA51
tetradic
#517FDA #DA51C3 #DAAC51 #51DA67
square
#517FDA #DA51C3 #DAAC51 #51DA67
split-complementary
#517FDA #DA6751 #C3DA51
monochromatic
#1F4592 #2A5EC4 #517FDA #83A4E5 #B6C9EF

Accessibility & contrast

On white

3.89
#517FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#517FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FDA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FDA#FFFFFF#000000##000000
##517FDA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DE
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517fda;
/* rgb */ color: rgb(81, 127, 218);
/* oklch */ color: oklch(60.8% 0.148 262.6);
Tailwind
colors: {
  custom: {
    50: '#8ea3e6',
    500: '#517fda',
    950: '#000000',
  },
}
SCSS
$custom: #517fda;
$custom-light: #8ea3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#517fda",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 219.854,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60767,
    "c": 0.14751,
    "h": 262.6
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#517FDA
secondary
#DECCA8
accent
#AF40E8
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #517FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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