#517FCF#517FCF

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

Color values

HEX#517FCF
RGBrgb(81, 127, 207)
HSLhsl(218, 57%, 56%)
HSVhsv(218, 61%, 81%)
CMYKcmyk(60.9%, 38.6%, 0%, 18.8%)
CIE-LABlab(53.42, 8.90, -46.07)
CIE-LCHlch(53.42, 46.92, 280.93°)
OKLaboklab(60.11% -0.0213 -0.1308)
OKLCHoklch(60.11% 0.133 260.8)
XYZxyz(22.2413, 21.4311, 61.9839)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FCF #CFA151
analogous
#51BECF #517FCF #6251CF
triadic
#517FCF #CF517F #7FCF51
tetradic
#517FCF #CF51BE #CFA151 #51CF62
square
#517FCF #CF51BE #CFA151 #51CF62
split-complementary
#517FCF #CF6251 #BECF51
monochromatic
#244682 #3160B2 #517FCF #81A2DC #B1C6E9

Accessibility & contrast

On white

3.97
#517FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#517FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FCF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FCF#FFFFFF#000000##000000
##517FCF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4B7ACD
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517fcf;
/* rgb */ color: rgb(81, 127, 207);
/* oklch */ color: oklch(60.1% 0.133 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ca3de',
    500: '#517fcf',
    950: '#000000',
  },
}
SCSS
$custom: #517fcf;
$custom-light: #8ca3de;
$custom-dark: #000000;
JSON
{
  "hex": "#517fcf",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 218.095,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60113,
    "c": 0.13257,
    "h": 260.8
  },
  "luminance": 0.21433
}

Semantic roles & 50–950 ramp

primary
#517FCF
secondary
#D8C5A4
accent
#A848E0
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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