#517FDD#517FDD

#517FDD is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.0% C 0.152 H 263.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#517FDD
RGBrgb(81, 127, 221)
HSLhsl(220, 67%, 59%)
HSVhsv(220, 63%, 87%)
CMYKcmyk(63.3%, 42.5%, 0%, 13.3%)
CIE-LABlab(54.18, 13.65, -52.75)
CIE-LCHlch(54.18, 54.49, 284.51°)
OKLaboklab(60.95% -0.0184 -0.1504)
OKLCHoklch(60.95% 0.152 263)
XYZxyz(24.0293, 22.1463, 71.4009)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FDD #DDAF51
analogous
#51C5DD #517FDD #6951DD
triadic
#517FDD #DD517F #7FDD51
tetradic
#517FDD #DD51C5 #DDAF51 #51DD69
square
#517FDD #DD51C5 #DDAF51 #51DD69
split-complementary
#517FDD #DD6951 #C5DD51
monochromatic
#1D4596 #275DC9 #517FDD #84A5E7 #B7CAF1

Accessibility & contrast

On white

3.87
#517FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#517FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FDD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FDD#FFFFFF#000000##000000
##517FDD1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E1
Deuteranopia (green-blind)
#3E7CDB
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517fdd;
/* rgb */ color: rgb(81, 127, 221);
/* oklch */ color: oklch(61.0% 0.152 263.0);
Tailwind
colors: {
  custom: {
    50: '#8fa3e8',
    500: '#517fdd',
    950: '#000000',
  },
}
SCSS
$custom: #517fdd;
$custom-light: #8fa3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#517fdd",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 220.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.15157,
    "h": 263
  },
  "luminance": 0.22149
}

Semantic roles & 50–950 ramp

primary
#517FDD
secondary
#E0CEAA
accent
#B13EEA
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #517FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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