#517FF2#517FF2

#517FF2 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.3% C 0.180 H 265.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#517FF2
RGBrgb(81, 127, 242)
HSLhsl(223, 86%, 63%)
HSVhsv(223, 67%, 95%)
CMYKcmyk(66.5%, 47.5%, 0%, 5.1%)
CIE-LABlab(55.42, 20.87, -62.50)
CIE-LCHlch(55.42, 65.90, 288.46°)
OKLaboklab(62.3% -0.0151 -0.1791)
OKLCHoklch(62.3% 0.18 265.2)
XYZxyz(27.0041, 23.3362, 87.0684)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FF2 #F2C451
analogous
#51CFF2 #517FF2 #7351F2
triadic
#517FF2 #F2517F #7FF251
tetradic
#517FF2 #F251CF #F2C451 #51F273
square
#517FF2 #F251CF #F2C451 #51F273
split-complementary
#517FF2 #F27351 #CFF251
monochromatic
#0E3FBB #1855EE #517FF2 #8AA9F6 #C3D3FB

Accessibility & contrast

On white

3.71
#517FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#517FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FF2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FF2#FFFFFF#000000##000000
##517FF21.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF6
Deuteranopia (green-blind)
#1A7EF0
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #517ff2;
/* rgb */ color: rgb(81, 127, 242);
/* oklch */ color: oklch(62.3% 0.180 265.2);
Tailwind
colors: {
  custom: {
    50: '#92a3f7',
    500: '#517ff2',
    950: '#000000',
  },
}
SCSS
$custom: #517ff2;
$custom-light: #92a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#517ff2",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 222.857,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62297,
    "c": 0.17975,
    "h": 265.2
  },
  "luminance": 0.23339
}

Semantic roles & 50–950 ramp

primary
#517FF2
secondary
#ECDCB3
accent
#A303E3
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #517FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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