#517EDA#517EDA

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

Color values

HEX#517EDA
RGBrgb(81, 126, 218)
HSLhsl(220, 65%, 59%)
HSVhsv(220, 63%, 85%)
CMYKcmyk(62.8%, 42.2%, 0%, 14.5%)
CIE-LABlab(53.74, 13.24, -51.77)
CIE-LCHlch(53.74, 53.44, 284.34°)
OKLaboklab(60.56% -0.018 -0.1476)
OKLCHoklch(60.56% 0.149 263.1)
XYZxyz(23.5047, 21.7308, 69.2719)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EDA #DAAD51
analogous
#51C2DA #517EDA #6851DA
triadic
#517EDA #DA517E #7EDA51
tetradic
#517EDA #DA51C2 #DAAD51 #51DA68
square
#517EDA #DA51C2 #DAAD51 #51DA68
split-complementary
#517EDA #DA6851 #C2DA51
monochromatic
#1F4592 #2A5CC4 #517EDA #83A3E5 #B6C9EF

Accessibility & contrast

On white

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

On black

5.35
#517EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EDA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EDA#FFFFFF#000000##000000
##517EDA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5487DE
Deuteranopia (green-blind)
#3F7BD8
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517eda;
/* rgb */ color: rgb(81, 126, 218);
/* oklch */ color: oklch(60.6% 0.149 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ea2e6',
    500: '#517eda',
    950: '#000000',
  },
}
SCSS
$custom: #517eda;
$custom-light: #8ea2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#517eda",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 220.292,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.14867,
    "h": 263.1
  },
  "luminance": 0.21733
}

Semantic roles & 50–950 ramp

primary
#517EDA
secondary
#DECDA8
accent
#B140E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #517EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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