#517CC5#517CC5

#517CC5 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.122 H 260.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#517CC5
RGBrgb(81, 124, 197)
HSLhsl(218, 50%, 55%)
HSVhsv(218, 59%, 77%)
CMYKcmyk(58.9%, 37.1%, 0%, 22.7%)
CIE-LABlab(52.06, 7.36, -42.54)
CIE-LCHlch(52.06, 43.17, 279.82°)
OKLaboklab(58.89% -0.0203 -0.1206)
OKLCHoklch(58.89% 0.122 260.4)
XYZxyz(20.6755, 20.1941, 55.6208)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CC5 #C59A51
analogous
#51B6C5 #517CC5 #6051C5
triadic
#517CC5 #C5517C #7CC551
tetradic
#517CC5 #C551B6 #C59A51 #51C560
square
#517CC5 #C551B6 #C59A51 #51C560
split-complementary
#517CC5 #C56051 #B6C551
monochromatic
#274475 #365EA3 #517CC5 #7F9FD4 #ADC1E4

Accessibility & contrast

On white

4.17
#517CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#517CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CC5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CC5#FFFFFF#000000##000000
##517CC51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C8
Deuteranopia (green-blind)
#4E77C3
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517cc5;
/* rgb */ color: rgb(81, 124, 197);
/* oklch */ color: oklch(58.9% 0.122 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ba1d7',
    500: '#517cc5',
    950: '#000000',
  },
}
SCSS
$custom: #517cc5;
$custom-light: #8ba1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#517cc5",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 217.759,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.12227,
    "h": 260.4
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

primary
#517CC5
secondary
#D1BFA0
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #517CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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