#517DC7#517DC7

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

Color values

HEX#517DC7
RGBrgb(81, 125, 199)
HSLhsl(218, 51%, 55%)
HSVhsv(218, 59%, 78%)
CMYKcmyk(59.3%, 37.2%, 0%, 22%)
CIE-LABlab(52.44, 7.42, -43.07)
CIE-LCHlch(52.44, 43.71, 279.78°)
OKLaboklab(59.22% -0.021 -0.1221)
OKLCHoklch(59.22% 0.124 260.3)
XYZxyz(21.0322, 20.5383, 56.8777)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DC7 #C79B51
analogous
#51B8C7 #517DC7 #6051C7
triadic
#517DC7 #C7517D #7DC751
tetradic
#517DC7 #C751B8 #C79B51 #51C760
square
#517DC7 #C751B8 #C79B51 #51C760
split-complementary
#517DC7 #C76051 #B8C751
monochromatic
#264577 #355FA6 #517DC7 #7FA0D6 #AEC2E5

Accessibility & contrast

On white

4.11
#517DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#517DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DC7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DC7#FFFFFF#000000##000000
##517DC71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517dc7;
/* rgb */ color: rgb(81, 125, 199);
/* oklch */ color: oklch(59.2% 0.124 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ba2d8',
    500: '#517dc7',
    950: '#000000',
  },
}
SCSS
$custom: #517dc7;
$custom-light: #8ba2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#517dc7",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 217.627,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.1239,
    "h": 260.3
  },
  "luminance": 0.2054
}

Semantic roles & 50–950 ramp

primary
#517DC7
secondary
#D3C0A1
accent
#A64DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F14
muted
#7E7E83

Preview Lab

Preview with #517DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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