#517CD9#517CD9

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

Color values

HEX#517CD9
RGBrgb(81, 124, 217)
HSLhsl(221, 64%, 58%)
HSVhsv(221, 63%, 85%)
CMYKcmyk(62.7%, 42.9%, 0%, 14.9%)
CIE-LABlab(53.14, 14.12, -52.17)
CIE-LCHlch(53.14, 54.05, 285.14°)
OKLaboklab(60.07% -0.0162 -0.1488)
OKLCHoklch(60.07% 0.15 263.8)
XYZxyz(23.1210, 21.1723, 68.5004)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CD9 #D9AE51
analogous
#51C0D9 #517CD9 #6A51D9
triadic
#517CD9 #D9517C #7CD951
tetradic
#517CD9 #D951C0 #D9AE51 #51D96A
square
#517CD9 #D951C0 #D9AE51 #51D96A
split-complementary
#517CD9 #D96A51 #C0D951
monochromatic
#1F4390 #2A5AC2 #517CD9 #83A2E4 #B5C8EF

Accessibility & contrast

On white

4.01
#517CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#517CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CD9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CD9#FFFFFF#000000##000000
##517CD91.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DD
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517cd9;
/* rgb */ color: rgb(81, 124, 217);
/* oklch */ color: oklch(60.1% 0.150 263.8);
Tailwind
colors: {
  custom: {
    50: '#8ea1e5',
    500: '#517cd9',
    950: '#000000',
  },
}
SCSS
$custom: #517cd9;
$custom-light: #8ea1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#517cd9",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 221.029,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60074,
    "c": 0.14965,
    "h": 263.8
  },
  "luminance": 0.21174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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