#517CC8#517CC8

#517CC8 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.126 H 261.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#517CC8
RGBrgb(81, 124, 200)
HSLhsl(218, 52%, 55%)
HSVhsv(218, 60%, 78%)
CMYKcmyk(59.5%, 38%, 0%, 21.6%)
CIE-LABlab(52.21, 8.36, -44.00)
CIE-LCHlch(52.21, 44.79, 280.76°)
OKLaboklab(59.06% -0.0196 -0.1248)
OKLCHoklch(59.06% 0.126 261.1)
XYZxyz(21.0227, 20.3330, 57.4492)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CC8 #C89D51
analogous
#51B8C8 #517CC8 #6151C8
triadic
#517CC8 #C8517C #7CC851
tetradic
#517CC8 #C851B8 #C89D51 #51C861
square
#517CC8 #C851B8 #C89D51 #51C861
split-complementary
#517CC8 #C86151 #B8C851
monochromatic
#264479 #355EA7 #517CC8 #809FD7 #AEC2E5

Accessibility & contrast

On white

4.14
#517CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#517CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CC8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CC8#FFFFFF#000000##000000
##517CC81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CB
Deuteranopia (green-blind)
#4C77C6
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517cc8;
/* rgb */ color: rgb(81, 124, 200);
/* oklch */ color: oklch(59.1% 0.126 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ba1d9',
    500: '#517cc8',
    950: '#000000',
  },
}
SCSS
$custom: #517cc8;
$custom-light: #8ba1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#517cc8",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 200
  },
  "hsl": {
    "h": 218.319,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59057,
    "c": 0.12638,
    "h": 261.1
  },
  "luminance": 0.20335
}

Semantic roles & 50–950 ramp

primary
#517CC8
secondary
#D3C1A1
accent
#A84CDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #517CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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