#517BCD#517BCD

#517BCD is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.134 H 262.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#517BCD
RGBrgb(81, 123, 205)
HSLhsl(220, 55%, 56%)
HSVhsv(220, 60%, 80%)
CMYKcmyk(60.5%, 40%, 0%, 19.6%)
CIE-LABlab(52.20, 10.65, -46.87)
CIE-LCHlch(52.20, 48.07, 282.81°)
OKLaboklab(59.13% -0.0175 -0.1332)
OKLCHoklch(59.13% 0.134 262.5)
XYZxyz(21.4919, 20.3212, 60.5356)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BCD #CDA351
analogous
#51B9CD #517BCD #6551CD
triadic
#517BCD #CD517B #7BCD51
tetradic
#517BCD #CD51B9 #CDA351 #51CD65
square
#517BCD #CD51B9 #CDA351 #51CD65
split-complementary
#517BCD #CD6551 #B9CD51
monochromatic
#25437F #325CAF #517BCD #819FDB #B0C3E8

Accessibility & contrast

On white

4.15
#517BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#517BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BCD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BCD#FFFFFF#000000##000000
##517BCD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517bcd;
/* rgb */ color: rgb(81, 123, 205);
/* oklch */ color: oklch(59.1% 0.134 262.5);
Tailwind
colors: {
  custom: {
    50: '#8ca0dd',
    500: '#517bcd',
    950: '#000000',
  },
}
SCSS
$custom: #517bcd;
$custom-light: #8ca0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#517bcd",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 219.677,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.13438,
    "h": 262.5
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#517BCD
secondary
#D7C5A3
accent
#AC49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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