#517DE8#517DE8

#517DE8 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.2% C 0.169 H 265.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#517DE8
RGBrgb(81, 125, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 65%, 91%)
CMYKcmyk(65.1%, 46.1%, 0%, 9%)
CIE-LABlab(54.28, 18.65, -58.76)
CIE-LCHlch(54.28, 61.65, 287.61°)
OKLaboklab(61.23% -0.0147 -0.1681)
OKLCHoklch(61.23% 0.169 265)
XYZxyz(25.2874, 22.2404, 79.2885)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DE8 #E8BC51
analogous
#51C8E8 #517DE8 #7151E8
triadic
#517DE8 #E8517D #7DE851
tetradic
#517DE8 #E851C8 #E8BC51 #51E871
square
#517DE8 #E851C8 #E8BC51 #51E871
split-complementary
#517DE8 #E87151 #C8E851
monochromatic
#1641A8 #1D56DE #517DE8 #87A5EF #BDCEF6

Accessibility & contrast

On white

3.85
#517DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#517DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DE8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DE8#FFFFFF#000000##000000
##517DE81.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4789EC
Deuteranopia (green-blind)
#2A7BE6
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517de8;
/* rgb */ color: rgb(81, 125, 232);
/* oklch */ color: oklch(61.2% 0.169 265.0);
Tailwind
colors: {
  custom: {
    50: '#90a2f0',
    500: '#517de8',
    950: '#000000',
  },
}
SCSS
$custom: #517de8;
$custom-light: #90a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#517de8",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 232
  },
  "hsl": {
    "h": 222.517,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.16877,
    "h": 265
  },
  "luminance": 0.22243
}

Semantic roles & 50–950 ramp

primary
#517DE8
secondary
#E7D6AE
accent
#9D0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #517DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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