#517DF2#517DF2

#517DF2 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.9% C 0.182 H 265.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#517DF2
RGBrgb(81, 125, 242)
HSLhsl(224, 86%, 63%)
HSVhsv(224, 67%, 95%)
CMYKcmyk(66.5%, 48.3%, 0%, 5.1%)
CIE-LABlab(54.89, 22.09, -63.35)
CIE-LCHlch(54.89, 67.09, 289.23°)
OKLaboklab(61.9% -0.0133 -0.1816)
OKLCHoklch(61.9% 0.182 265.8)
XYZxyz(26.7484, 22.8248, 86.9832)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DF2 #F2C651
analogous
#51CEF2 #517DF2 #7551F2
triadic
#517DF2 #F2517D #7DF251
tetradic
#517DF2 #F251CE #F2C651 #51F275
square
#517DF2 #F251CE #F2C651 #51F275
split-complementary
#517DF2 #F27551 #CEF251
monochromatic
#0E3DBB #1852EE #517DF2 #8AA8F6 #C3D2FB

Accessibility & contrast

On white

3.77
#517DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#517DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DF2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DF2#FFFFFF#000000##000000
##517DF21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#0E7CF0
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517df2;
/* rgb */ color: rgb(81, 125, 242);
/* oklch */ color: oklch(61.9% 0.182 265.8);
Tailwind
colors: {
  custom: {
    50: '#92a2f7',
    500: '#517df2',
    950: '#000000',
  },
}
SCSS
$custom: #517df2;
$custom-light: #92a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#517df2",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 223.602,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61896,
    "c": 0.18212,
    "h": 265.8
  },
  "luminance": 0.22827
}

Semantic roles & 50–950 ramp

primary
#517DF2
secondary
#ECDCB3
accent
#A503E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #517DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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