#517CF2#517CF2

#517CF2 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.7% C 0.183 H 266.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#517CF2
RGBrgb(81, 124, 242)
HSLhsl(224, 86%, 63%)
HSVhsv(224, 67%, 95%)
CMYKcmyk(66.5%, 48.8%, 0%, 5.1%)
CIE-LABlab(54.63, 22.71, -63.77)
CIE-LCHlch(54.63, 67.69, 289.60°)
OKLaboklab(61.7% -0.0125 -0.1829)
OKLCHoklch(61.7% 0.183 266.1)
XYZxyz(26.6224, 22.5729, 86.9412)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CF2 #F2C751
analogous
#51CCF2 #517CF2 #7651F2
triadic
#517CF2 #F2517C #7CF251
tetradic
#517CF2 #F251CC #F2C751 #51F276
square
#517CF2 #F251CC #F2C751 #51F276
split-complementary
#517CF2 #F27651 #CCF251
monochromatic
#0E3CBB #1851EE #517CF2 #8AA7F6 #C3D2FB

Accessibility & contrast

On white

3.81
#517CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#517CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CF2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CF2#FFFFFF#000000##000000
##517CF21.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#047CF0
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517cf2;
/* rgb */ color: rgb(81, 124, 242);
/* oklch */ color: oklch(61.7% 0.183 266.1);
Tailwind
colors: {
  custom: {
    50: '#92a1f7',
    500: '#517cf2',
    950: '#000000',
  },
}
SCSS
$custom: #517cf2;
$custom-light: #92a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#517cf2",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 223.975,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61696,
    "c": 0.1833,
    "h": 266.1
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#517CF2
secondary
#ECDDB3
accent
#A703E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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