#517EF0#517EF0

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

Color values

HEX#517EF0
RGBrgb(81, 126, 240)
HSLhsl(223, 84%, 63%)
HSVhsv(223, 66%, 94%)
CMYKcmyk(66.3%, 47.5%, 0%, 5.9%)
CIE-LABlab(55.03, 20.79, -62.01)
CIE-LCHlch(55.03, 65.41, 288.53°)
OKLaboklab(61.96% -0.0145 -0.1777)
OKLCHoklch(61.96% 0.178 265.3)
XYZxyz(26.5769, 22.9597, 85.4522)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EF0 #F0C351
analogous
#51CDF0 #517EF0 #7351F0
triadic
#517EF0 #F0517E #7EF051
tetradic
#517EF0 #F051CD #F0C351 #51F073
square
#517EF0 #F051CD #F0C351 #51F073
split-complementary
#517EF0 #F07351 #CDF051
monochromatic
#103FB7 #1954EB #517EF0 #89A8F5 #C2D2FA

Accessibility & contrast

On white

3.76
#517EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#517EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EF0
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EF0#FFFFFF#000000##000000
##517EF01.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF4
Deuteranopia (green-blind)
#1B7DEE
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #517ef0;
/* rgb */ color: rgb(81, 126, 240);
/* oklch */ color: oklch(62.0% 0.178 265.3);
Tailwind
colors: {
  custom: {
    50: '#92a2f6',
    500: '#517ef0',
    950: '#000000',
  },
}
SCSS
$custom: #517ef0;
$custom-light: #92a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#517ef0",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 223.019,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61963,
    "c": 0.17827,
    "h": 265.3
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#517EF0
secondary
#EBDBB2
accent
#A205E1
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #517EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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