#517FED#517FED

#517FED is a mid, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.173 H 264.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#517FED
RGBrgb(81, 127, 237)
HSLhsl(222, 81%, 62%)
HSVhsv(222, 66%, 93%)
CMYKcmyk(65.8%, 46.4%, 0%, 7.1%)
CIE-LABlab(55.11, 19.14, -60.21)
CIE-LCHlch(55.11, 63.18, 287.64°)
OKLaboklab(61.97% -0.0158 -0.1724)
OKLCHoklch(61.97% 0.173 264.8)
XYZxyz(26.2634, 23.0400, 83.1674)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FED #EDBF51
analogous
#51CDED #517FED #7151ED
triadic
#517FED #ED517F #7FED51
tetradic
#517FED #ED51CD #EDBF51 #51ED71
square
#517FED #ED51CD #EDBF51 #51ED71
split-complementary
#517FED #ED7151 #CDED51
monochromatic
#1241B1 #1A56E7 #517FED #88A8F3 #C0D1F8

Accessibility & contrast

On white

3.74
#517FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#517FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FED
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FED#FFFFFF#000000##000000
##517FED1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF1
Deuteranopia (green-blind)
#267DEB
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #517fed;
/* rgb */ color: rgb(81, 127, 237);
/* oklch */ color: oklch(62.0% 0.173 264.8);
Tailwind
colors: {
  custom: {
    50: '#91a3f3',
    500: '#517fed',
    950: '#000000',
  },
}
SCSS
$custom: #517fed;
$custom-light: #91a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#517fed",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 222.308,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.17309,
    "h": 264.8
  },
  "luminance": 0.23042
}

Semantic roles & 50–950 ramp

primary
#517FED
secondary
#E9D9B0
accent
#9F08DE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #517FED

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

Preview Lab → · Contrast checker → · Palette generator →

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