#517CDA#517CDA

#517CDA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.151 H 263.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#517CDA
RGBrgb(81, 124, 218)
HSLhsl(221, 65%, 59%)
HSVhsv(221, 63%, 85%)
CMYKcmyk(62.8%, 43.1%, 0%, 14.5%)
CIE-LABlab(53.19, 14.46, -52.64)
CIE-LCHlch(53.19, 54.59, 285.36°)
OKLaboklab(60.14% -0.016 -0.1502)
OKLCHoklch(60.14% 0.151 263.9)
XYZxyz(23.2515, 21.2245, 69.1875)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CDA #DAAF51
analogous
#51C0DA #517CDA #6A51DA
triadic
#517CDA #DA517C #7CDA51
tetradic
#517CDA #DA51C0 #DAAF51 #51DA6A
square
#517CDA #DA51C0 #DAAF51 #51DA6A
split-complementary
#517CDA #DA6A51 #C0DA51
monochromatic
#1F4392 #2A5AC4 #517CDA #83A2E5 #B6C8EF

Accessibility & contrast

On white

4.00
#517CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#517CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CDA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CDA#FFFFFF#000000##000000
##517CDA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DE
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517cda;
/* rgb */ color: rgb(81, 124, 218);
/* oklch */ color: oklch(60.1% 0.151 263.9);
Tailwind
colors: {
  custom: {
    50: '#8ea1e6',
    500: '#517cda',
    950: '#000000',
  },
}
SCSS
$custom: #517cda;
$custom-light: #8ea1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#517cda",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 221.168,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.15101,
    "h": 263.9
  },
  "luminance": 0.21227
}

Semantic roles & 50–950 ramp

primary
#517CDA
secondary
#DECDA8
accent
#B340E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #517CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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