#517FE5#517FE5

#517FE5 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.162 H 264.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#517FE5
RGBrgb(81, 127, 229)
HSLhsl(221, 74%, 61%)
HSVhsv(221, 65%, 90%)
CMYKcmyk(64.6%, 44.5%, 0%, 10.2%)
CIE-LABlab(54.64, 16.39, -56.51)
CIE-LCHlch(54.64, 58.84, 286.18°)
OKLaboklab(61.45% -0.017 -0.1615)
OKLCHoklch(61.45% 0.162 264)
XYZxyz(25.1206, 22.5828, 77.1486)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FE5 #E5B751
analogous
#51C9E5 #517FE5 #6D51E5
triadic
#517FE5 #E5517F #7FE551
tetradic
#517FE5 #E551C9 #E5B751 #51E56D
square
#517FE5 #E551C9 #E5B751 #51E56D
split-complementary
#517FE5 #E56D51 #C9E551
monochromatic
#1844A3 #205AD8 #517FE5 #86A6ED #BBCDF5

Accessibility & contrast

On white

3.81
#517FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#517FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FE5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FE5#FFFFFF#000000##000000
##517FE51.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8AE9
Deuteranopia (green-blind)
#347CE3
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517fe5;
/* rgb */ color: rgb(81, 127, 229);
/* oklch */ color: oklch(61.5% 0.162 264.0);
Tailwind
colors: {
  custom: {
    50: '#90a3ee',
    500: '#517fe5',
    950: '#000000',
  },
}
SCSS
$custom: #517fe5;
$custom-light: #90a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#517fe5",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 221.351,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61452,
    "c": 0.16238,
    "h": 264
  },
  "luminance": 0.22585
}

Semantic roles & 50–950 ramp

primary
#517FE5
secondary
#E5D4AD
accent
#980FD6
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #517FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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