#517FDE#517FDE

#517FDE is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.0% C 0.153 H 263.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#517FDE
RGBrgb(81, 127, 222)
HSLhsl(220, 68%, 59%)
HSVhsv(220, 64%, 87%)
CMYKcmyk(63.5%, 42.8%, 0%, 12.9%)
CIE-LABlab(54.24, 13.99, -53.23)
CIE-LCHlch(54.24, 55.03, 284.73°)
OKLaboklab(61.01% -0.0182 -0.1518)
OKLCHoklch(61.01% 0.153 263.2)
XYZxyz(24.1629, 22.1998, 72.1047)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FDE #DEB051
analogous
#51C5DE #517FDE #6A51DE
triadic
#517FDE #DE517F #7FDE51
tetradic
#517FDE #DE51C5 #DEB051 #51DE6A
square
#517FDE #DE51C5 #DEB051 #51DE6A
split-complementary
#517FDE #DE6A51 #C5DE51
monochromatic
#1D4598 #275CCB #517FDE #84A5E8 #B8CBF2

Accessibility & contrast

On white

3.86
#517FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#517FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FDE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FDE#FFFFFF#000000##000000
##517FDE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E2
Deuteranopia (green-blind)
#3D7CDC
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517fde;
/* rgb */ color: rgb(81, 127, 222);
/* oklch */ color: oklch(61.0% 0.153 263.2);
Tailwind
colors: {
  custom: {
    50: '#8fa3e9',
    500: '#517fde',
    950: '#000000',
  },
}
SCSS
$custom: #517fde;
$custom-light: #8fa3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#517fde",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 220.426,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.15293,
    "h": 263.2
  },
  "luminance": 0.22202
}

Semantic roles & 50–950 ramp

primary
#517FDE
secondary
#E1CFAA
accent
#B23DEB
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #517FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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