#517DDE#517DDE

#517DDE is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.6% C 0.155 H 264.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#517DDE
RGBrgb(81, 125, 222)
HSLhsl(221, 68%, 59%)
HSVhsv(221, 64%, 87%)
CMYKcmyk(63.5%, 43.7%, 0%, 12.9%)
CIE-LABlab(53.69, 15.21, -54.09)
CIE-LCHlch(53.69, 56.19, 285.71°)
OKLaboklab(60.59% -0.0163 -0.1544)
OKLCHoklch(60.59% 0.155 264)
XYZxyz(23.9072, 21.6883, 72.0194)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DDE #DEB251
analogous
#51C3DE #517DDE #6C51DE
triadic
#517DDE #DE517D #7DDE51
tetradic
#517DDE #DE51C3 #DEB251 #51DE6C
square
#517DDE #DE51C3 #DEB251 #51DE6C
split-complementary
#517DDE #DE6C51 #C3DE51
monochromatic
#1D4398 #275ACB #517DDE #84A3E8 #B8CAF2

Accessibility & contrast

On white

3.93
#517DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#517DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DDE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DDE#FFFFFF#000000##000000
##517DDE1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E2
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517dde;
/* rgb */ color: rgb(81, 125, 222);
/* oklch */ color: oklch(60.6% 0.155 264.0);
Tailwind
colors: {
  custom: {
    50: '#8fa2e9',
    500: '#517dde',
    950: '#000000',
  },
}
SCSS
$custom: #517dde;
$custom-light: #8fa2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#517dde",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 221.277,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.15526,
    "h": 264
  },
  "luminance": 0.2169
}

Semantic roles & 50–950 ramp

primary
#517DDE
secondary
#E1D0AA
accent
#B53DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #517DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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