#517EC8#517EC8

#517EC8 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.124 H 259.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#517EC8
RGBrgb(81, 126, 200)
HSLhsl(217, 52%, 55%)
HSVhsv(217, 60%, 78%)
CMYKcmyk(59.5%, 37%, 0%, 21.6%)
CIE-LABlab(52.77, 7.15, -43.12)
CIE-LCHlch(52.77, 43.71, 279.42°)
OKLaboklab(59.49% -0.0218 -0.1222)
OKLCHoklch(59.49% 0.124 259.9)
XYZxyz(21.2759, 20.8393, 57.5336)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EC8 #C89B51
analogous
#51B9C8 #517EC8 #6051C8
triadic
#517EC8 #C8517E #7EC851
tetradic
#517EC8 #C851B9 #C89B51 #51C860
square
#517EC8 #C851B9 #C89B51 #51C860
split-complementary
#517EC8 #C86051 #B9C851
monochromatic
#264579 #3560A7 #517EC8 #80A0D7 #AEC3E5

Accessibility & contrast

On white

4.06
#517EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#517EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EC8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EC8#FFFFFF#000000##000000
##517EC81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F84CB
Deuteranopia (green-blind)
#4F79C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517ec8;
/* rgb */ color: rgb(81, 126, 200);
/* oklch */ color: oklch(59.5% 0.124 259.9);
Tailwind
colors: {
  custom: {
    50: '#8ba3d9',
    500: '#517ec8',
    950: '#000000',
  },
}
SCSS
$custom: #517ec8;
$custom-light: #8ba3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#517ec8",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 217.311,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59493,
    "c": 0.12415,
    "h": 259.9
  },
  "luminance": 0.20841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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