#517BE8#517BE8

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

Color values

HEX#517BE8
RGBrgb(81, 123, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 65%, 91%)
CMYKcmyk(65.1%, 47%, 0%, 9%)
CIE-LABlab(53.75, 19.87, -59.61)
CIE-LCHlch(53.75, 62.84, 288.44°)
OKLaboklab(60.83% -0.0128 -0.1707)
OKLCHoklch(60.83% 0.171 265.7)
XYZxyz(25.0367, 21.7391, 79.2049)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BE8 #E8BE51
analogous
#51C7E8 #517BE8 #7351E8
triadic
#517BE8 #E8517B #7BE851
tetradic
#517BE8 #E851C7 #E8BE51 #51E873
square
#517BE8 #E851C7 #E8BE51 #51E873
split-complementary
#517BE8 #E87351 #C7E851
monochromatic
#163FA8 #1D53DE #517BE8 #87A4EF #BDCDF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517BE8#FFFFFF#000000##000000
##517BE81.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)
#4388EC
Deuteranopia (green-blind)
#237AE6
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517be8;
/* rgb */ color: rgb(81, 123, 232);
/* oklch */ color: oklch(60.8% 0.171 265.7);
Tailwind
colors: {
  custom: {
    50: '#90a0f0',
    500: '#517be8',
    950: '#000000',
  },
}
SCSS
$custom: #517be8;
$custom-light: #90a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#517be8",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 223.311,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60827,
    "c": 0.17115,
    "h": 265.7
  },
  "luminance": 0.21741
}

Semantic roles & 50–950 ramp

primary
#517BE8
secondary
#E7D7AE
accent
#A00DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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