#517AC8#517AC8

#517AC8 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.129 H 262.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#517AC8
RGBrgb(81, 122, 200)
HSLhsl(219, 52%, 55%)
HSVhsv(219, 60%, 78%)
CMYKcmyk(59.5%, 39%, 0%, 21.6%)
CIE-LABlab(51.65, 9.58, -44.89)
CIE-LCHlch(51.65, 45.90, 282.05°)
OKLaboklab(58.62% -0.0175 -0.1275)
OKLCHoklch(58.62% 0.129 262.2)
XYZxyz(20.7746, 19.8368, 57.3665)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AC8 #C89F51
analogous
#51B5C8 #517AC8 #6451C8
triadic
#517AC8 #C8517A #7AC851
tetradic
#517AC8 #C851B5 #C89F51 #51C864
square
#517AC8 #C851B5 #C89F51 #51C864
split-complementary
#517AC8 #C86451 #B5C851
monochromatic
#264279 #355CA7 #517AC8 #809ED7 #AEC1E5

Accessibility & contrast

On white

4.23
#517AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#517AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AC8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AC8#FFFFFF#000000##000000
##517AC81.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517ac8;
/* rgb */ color: rgb(81, 122, 200);
/* oklch */ color: oklch(58.6% 0.129 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ba0d9',
    500: '#517ac8',
    950: '#000000',
  },
}
SCSS
$custom: #517ac8;
$custom-light: #8ba0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#517ac8",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 219.328,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.12865,
    "h": 262.2
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#517AC8
secondary
#D3C2A1
accent
#AA4CDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #517AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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