#517DF0#517DF0

#517DF0 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.179 H 265.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#517DF0
RGBrgb(81, 125, 240)
HSLhsl(223, 84%, 63%)
HSVhsv(223, 66%, 94%)
CMYKcmyk(66.3%, 47.9%, 0%, 5.9%)
CIE-LABlab(54.77, 21.40, -62.44)
CIE-LCHlch(54.77, 66.00, 288.92°)
OKLaboklab(61.76% -0.0136 -0.1789)
OKLCHoklch(61.76% 0.179 265.7)
XYZxyz(26.4497, 22.7053, 85.4098)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DF0 #F0C451
analogous
#51CDF0 #517DF0 #7451F0
triadic
#517DF0 #F0517D #7DF051
tetradic
#517DF0 #F051CD #F0C451 #51F074
square
#517DF0 #F051CD #F0C451 #51F074
split-complementary
#517DF0 #F07451 #CDF051
monochromatic
#103EB7 #1953EB #517DF0 #89A7F5 #C2D1FA

Accessibility & contrast

On white

3.79
#517DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#517DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DF0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DF0#FFFFFF#000000##000000
##517DF01.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8BF4
Deuteranopia (green-blind)
#167CEE
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517df0;
/* rgb */ color: rgb(81, 125, 240);
/* oklch */ color: oklch(61.8% 0.179 265.7);
Tailwind
colors: {
  custom: {
    50: '#92a2f6',
    500: '#517df0',
    950: '#000000',
  },
}
SCSS
$custom: #517df0;
$custom-light: #92a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#517df0",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 223.396,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.17946,
    "h": 265.7
  },
  "luminance": 0.22708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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