#517FCE#517FCE

#517FCE is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.131 H 260.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#517FCE
RGBrgb(81, 127, 206)
HSLhsl(218, 56%, 56%)
HSVhsv(218, 61%, 81%)
CMYKcmyk(60.7%, 38.3%, 0%, 19.2%)
CIE-LABlab(53.37, 8.56, -45.59)
CIE-LCHlch(53.37, 46.38, 280.64°)
OKLaboklab(60.06% -0.0215 -0.1294)
OKLCHoklch(60.06% 0.131 260.6)
XYZxyz(22.1194, 21.3823, 61.3421)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FCE #CEA051
analogous
#51BECE #517FCE #6251CE
triadic
#517FCE #CE517F #7FCE51
tetradic
#517FCE #CE51BE #CEA051 #51CE62
square
#517FCE #CE51BE #CEA051 #51CE62
split-complementary
#517FCE #CE6251 #BECE51
monochromatic
#244680 #3260B0 #517FCE #81A2DB #B1C5E9

Accessibility & contrast

On white

3.98
#517FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#517FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FCE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FCE#FFFFFF#000000##000000
##517FCE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D1
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517fce;
/* rgb */ color: rgb(81, 127, 206);
/* oklch */ color: oklch(60.1% 0.131 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ca3dd',
    500: '#517fce',
    950: '#000000',
  },
}
SCSS
$custom: #517fce;
$custom-light: #8ca3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#517fce",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 217.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60055,
    "c": 0.13121,
    "h": 260.6
  },
  "luminance": 0.21384
}

Semantic roles & 50–950 ramp

primary
#517FCE
secondary
#D7C4A4
accent
#A848DF
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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