#517DC4#517DC4

#517DC4 is a mid, moderate blue. Relative luminance 0.204; OKLCH L 59.0% C 0.120 H 259.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#517DC4
RGBrgb(81, 125, 196)
HSLhsl(217, 49%, 54%)
HSVhsv(217, 59%, 77%)
CMYKcmyk(58.7%, 36.2%, 0%, 23.1%)
CIE-LABlab(52.29, 6.42, -41.60)
CIE-LCHlch(52.29, 42.10, 278.78°)
OKLaboklab(59.05% -0.0217 -0.1178)
OKLCHoklch(59.05% 0.12 259.6)
XYZxyz(20.6873, 20.4003, 55.0613)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DC4 #C49851
analogous
#51B7C4 #517DC4 #5F51C4
triadic
#517DC4 #C4517D #7DC451
tetradic
#517DC4 #C451B7 #C49851 #51C45F
square
#517DC4 #C451B7 #C49851 #51C45F
split-complementary
#517DC4 #C45F51 #B7C451
monochromatic
#274473 #375FA1 #517DC4 #7F9FD3 #ACC1E3

Accessibility & contrast

On white

4.13
#517DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#517DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DC4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DC4#FFFFFF#000000##000000
##517DC41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C7
Deuteranopia (green-blind)
#5078C3
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517dc4;
/* rgb */ color: rgb(81, 125, 196);
/* oklch */ color: oklch(59.0% 0.120 259.6);
Tailwind
colors: {
  custom: {
    50: '#8ba2d6',
    500: '#517dc4',
    950: '#000000',
  },
}
SCSS
$custom: #517dc4;
$custom-light: #8ba2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#517dc4",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 217.043,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59048,
    "c": 0.1198,
    "h": 259.6
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#517DC4
secondary
#D1BEA0
accent
#A44FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #517DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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