#517DDD#517DDD

#517DDD is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.154 H 263.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#517DDD
RGBrgb(81, 125, 221)
HSLhsl(221, 67%, 59%)
HSVhsv(221, 63%, 87%)
CMYKcmyk(63.3%, 43.4%, 0%, 13.3%)
CIE-LABlab(53.64, 14.87, -53.62)
CIE-LCHlch(53.64, 55.65, 285.50°)
OKLaboklab(60.53% -0.0164 -0.153)
OKLCHoklch(60.53% 0.154 263.9)
XYZxyz(23.7736, 21.6348, 71.3157)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DDD #DDB151
analogous
#51C3DD #517DDD #6B51DD
triadic
#517DDD #DD517D #7DDD51
tetradic
#517DDD #DD51C3 #DDB151 #51DD6B
square
#517DDD #DD51C3 #DDB151 #51DD6B
split-complementary
#517DDD #DD6B51 #C3DD51
monochromatic
#1D4396 #275AC9 #517DDD #84A3E7 #B7CAF1

Accessibility & contrast

On white

3.94
#517DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#517DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DDD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DDD#FFFFFF#000000##000000
##517DDD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5087E1
Deuteranopia (green-blind)
#3A7ADB
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517ddd;
/* rgb */ color: rgb(81, 125, 221);
/* oklch */ color: oklch(60.5% 0.154 263.9);
Tailwind
colors: {
  custom: {
    50: '#8fa2e8',
    500: '#517ddd',
    950: '#000000',
  },
}
SCSS
$custom: #517ddd;
$custom-light: #8fa2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#517ddd",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 221.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.15391,
    "h": 263.9
  },
  "luminance": 0.21637
}

Semantic roles & 50–950 ramp

primary
#517DDD
secondary
#E0CFAA
accent
#B43EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #517DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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