#517EDB#517EDB

#517EDB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.6% C 0.150 H 263.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#517EDB
RGBrgb(81, 126, 219)
HSLhsl(220, 66%, 59%)
HSVhsv(220, 63%, 86%)
CMYKcmyk(63%, 42.5%, 0%, 14.1%)
CIE-LABlab(53.80, 13.58, -52.25)
CIE-LCHlch(53.80, 53.98, 284.57°)
OKLaboklab(60.62% -0.0178 -0.149)
OKLCHoklch(60.62% 0.15 263.2)
XYZxyz(23.6359, 21.7833, 69.9631)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EDB #DBAE51
analogous
#51C3DB #517EDB #6951DB
triadic
#517EDB #DB517E #7EDB51
tetradic
#517EDB #DB51C3 #DBAE51 #51DB69
square
#517EDB #DB51C3 #DBAE51 #51DB69
split-complementary
#517EDB #DB6951 #C3DB51
monochromatic
#1E4593 #295CC6 #517EDB #84A4E5 #B6C9F0

Accessibility & contrast

On white

3.92
#517EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#517EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EDB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EDB#FFFFFF#000000##000000
##517EDB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DF
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517edb;
/* rgb */ color: rgb(81, 126, 219);
/* oklch */ color: oklch(60.6% 0.150 263.2);
Tailwind
colors: {
  custom: {
    50: '#8ea2e7',
    500: '#517edb',
    950: '#000000',
  },
}
SCSS
$custom: #517edb;
$custom-light: #8ea2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#517edb",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 219
  },
  "hsl": {
    "h": 220.435,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.15003,
    "h": 263.2
  },
  "luminance": 0.21786
}

Semantic roles & 50–950 ramp

primary
#517EDB
secondary
#DFCDA9
accent
#B13FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #517EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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