#517FC8#517FC8

#517FC8 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.7% C 0.123 H 259.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#517FC8
RGBrgb(81, 127, 200)
HSLhsl(217, 52%, 55%)
HSVhsv(217, 60%, 78%)
CMYKcmyk(59.5%, 36.5%, 0%, 21.6%)
CIE-LABlab(53.05, 6.55, -42.67)
CIE-LCHlch(53.05, 43.17, 278.73°)
OKLaboklab(59.71% -0.0229 -0.1209)
OKLCHoklch(59.71% 0.123 259.3)
XYZxyz(21.4044, 21.0963, 57.5764)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FC8 #C89A51
analogous
#51BAC8 #517FC8 #5F51C8
triadic
#517FC8 #C8517F #7FC851
tetradic
#517FC8 #C851BA #C89A51 #51C85F
square
#517FC8 #C851BA #C89A51 #51C85F
split-complementary
#517FC8 #C85F51 #BAC851
monochromatic
#264679 #3561A7 #517FC8 #80A1D7 #AEC3E5

Accessibility & contrast

On white

4.02
#517FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#517FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FC8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FC8#FFFFFF#000000##000000
##517FC81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CB
Deuteranopia (green-blind)
#507AC6
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517fc8;
/* rgb */ color: rgb(81, 127, 200);
/* oklch */ color: oklch(59.7% 0.123 259.3);
Tailwind
colors: {
  custom: {
    50: '#8ba3d9',
    500: '#517fc8',
    950: '#000000',
  },
}
SCSS
$custom: #517fc8;
$custom-light: #8ba3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#517fc8",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 216.807,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59712,
    "c": 0.12306,
    "h": 259.3
  },
  "luminance": 0.21098
}

Semantic roles & 50–950 ramp

primary
#517FC8
secondary
#D3C0A1
accent
#A44CDB
background
#F9FAFD
surface
#F1F3FA
border
#CBCDD3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #517FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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