#517EC0#517EC0

#517EC0 is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.0% C 0.113 H 257.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#517EC0
RGBrgb(81, 126, 192)
HSLhsl(216, 47%, 54%)
HSVhsv(216, 58%, 75%)
CMYKcmyk(57.8%, 34.4%, 0%, 24.7%)
CIE-LABlab(52.37, 4.50, -39.19)
CIE-LCHlch(52.37, 39.44, 276.54°)
OKLaboklab(59.05% -0.0238 -0.1108)
OKLCHoklch(59.05% 0.113 257.9)
XYZxyz(20.3653, 20.4751, 52.7378)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EC0 #C09351
analogous
#51B5C0 #517EC0 #5B51C0
triadic
#517EC0 #C0517E #7EC051
tetradic
#517EC0 #C051B5 #C09351 #51C05B
square
#517EC0 #C051B5 #C09351 #51C05B
split-complementary
#517EC0 #C05B51 #B5C051
monochromatic
#28456F #38619B #517EC0 #7E9FD0 #ABC1E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517EC0#FFFFFF#000000##000000
##517EC01.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)
#6383C3
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517ec0;
/* rgb */ color: rgb(81, 126, 192);
/* oklch */ color: oklch(59.0% 0.113 257.9);
Tailwind
colors: {
  custom: {
    50: '#8aa3d3',
    500: '#517ec0',
    950: '#000000',
  },
}
SCSS
$custom: #517ec0;
$custom-light: #8aa3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#517ec0",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 215.676,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.11329,
    "h": 257.9
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#517EC0
secondary
#CEBB9F
accent
#A051D6
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #517EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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