#517FE6#517FE6

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

Color values

HEX#517FE6
RGBrgb(81, 127, 230)
HSLhsl(221, 75%, 61%)
HSVhsv(221, 65%, 90%)
CMYKcmyk(64.8%, 44.8%, 0%, 9.8%)
CIE-LABlab(54.70, 16.73, -56.97)
CIE-LCHlch(54.70, 59.38, 286.37°)
OKLaboklab(61.52% -0.0169 -0.1628)
OKLCHoklch(61.52% 0.164 264.1)
XYZxyz(25.2606, 22.6389, 77.8861)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FE6 #E6B851
analogous
#51C9E6 #517FE6 #6D51E6
triadic
#517FE6 #E6517F #7FE651
tetradic
#517FE6 #E651C9 #E6B851 #51E66D
square
#517FE6 #E651C9 #E6B851 #51E66D
split-complementary
#517FE6 #E66D51 #C9E651
monochromatic
#1843A5 #1F59DA #517FE6 #87A6EE #BCCEF5

Accessibility & contrast

On white

3.80
#517FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#517FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FE6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FE6#FFFFFF#000000##000000
##517FE61.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AEA
Deuteranopia (green-blind)
#327CE4
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517fe6;
/* rgb */ color: rgb(81, 127, 230);
/* oklch */ color: oklch(61.5% 0.164 264.1);
Tailwind
colors: {
  custom: {
    50: '#90a3ee',
    500: '#517fe6',
    950: '#000000',
  },
}
SCSS
$custom: #517fe6;
$custom-light: #90a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#517fe6",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 221.477,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61515,
    "c": 0.16371,
    "h": 264.1
  },
  "luminance": 0.22641
}

Semantic roles & 50–950 ramp

primary
#517FE6
secondary
#E5D4AD
accent
#990ED7
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #517FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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