#517DC6#517DC6

#517DC6 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.123 H 260.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#517DC6
RGBrgb(81, 125, 198)
HSLhsl(217, 51%, 55%)
HSVhsv(217, 59%, 78%)
CMYKcmyk(59.1%, 36.9%, 0%, 22.4%)
CIE-LABlab(52.39, 7.09, -42.58)
CIE-LCHlch(52.39, 43.17, 279.45°)
OKLaboklab(59.16% -0.0212 -0.1207)
OKLCHoklch(59.16% 0.123 260)
XYZxyz(20.9164, 20.4920, 56.2682)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DC6 #C69A51
analogous
#51B7C6 #517DC6 #6051C6
triadic
#517DC6 #C6517D #7DC651
tetradic
#517DC6 #C651B7 #C69A51 #51C660
square
#517DC6 #C651B7 #C69A51 #51C660
split-complementary
#517DC6 #C66051 #B7C651
monochromatic
#274476 #365FA4 #517DC6 #7F9FD5 #ADC2E4

Accessibility & contrast

On white

4.12
#517DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#517DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DC6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DC6#FFFFFF#000000##000000
##517DC61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517dc6;
/* rgb */ color: rgb(81, 125, 198);
/* oklch */ color: oklch(59.2% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#8ba2d7',
    500: '#517dc6',
    950: '#000000',
  },
}
SCSS
$custom: #517dc6;
$custom-light: #8ba2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#517dc6",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 217.436,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59161,
    "c": 0.12253,
    "h": 260
  },
  "luminance": 0.20494
}

Semantic roles & 50–950 ramp

primary
#517DC6
secondary
#D2C0A1
accent
#A54EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F14
muted
#7E7E83

Preview Lab

Preview with #517DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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