#517DC9#517DC9

#517DC9 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.3% C 0.127 H 260.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#517DC9
RGBrgb(81, 125, 201)
HSLhsl(218, 53%, 55%)
HSVhsv(218, 60%, 79%)
CMYKcmyk(59.7%, 37.8%, 0%, 21.2%)
CIE-LABlab(52.54, 8.09, -44.05)
CIE-LCHlch(52.54, 44.78, 280.41°)
OKLaboklab(59.33% -0.0205 -0.125)
OKLCHoklch(59.33% 0.127 260.7)
XYZxyz(21.2659, 20.6318, 58.1087)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DC9 #C99D51
analogous
#51B9C9 #517DC9 #6151C9
triadic
#517DC9 #C9517D #7DC951
tetradic
#517DC9 #C951B9 #C99D51 #51C961
square
#517DC9 #C951B9 #C99D51 #51C961
split-complementary
#517DC9 #C96151 #B9C951
monochromatic
#26457A #345FA9 #517DC9 #80A0D7 #AEC3E6

Accessibility & contrast

On white

4.10
#517DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#517DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DC9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DC9#FFFFFF#000000##000000
##517DC91.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CC
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517dc9;
/* rgb */ color: rgb(81, 125, 201);
/* oklch */ color: oklch(59.3% 0.127 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ba2da',
    500: '#517dc9',
    950: '#000000',
  },
}
SCSS
$custom: #517dc9;
$custom-light: #8ba2da;
$custom-dark: #000000;
JSON
{
  "hex": "#517dc9",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 201
  },
  "hsl": {
    "h": 218,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.12663,
    "h": 260.7
  },
  "luminance": 0.20634
}

Semantic roles & 50–950 ramp

primary
#517DC9
secondary
#D4C2A2
accent
#A74CDC
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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