#517FE2#517FE2

#517FE2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.158 H 263.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#517FE2
RGBrgb(81, 127, 226)
HSLhsl(221, 71%, 60%)
HSVhsv(221, 64%, 89%)
CMYKcmyk(64.2%, 43.8%, 0%, 11.4%)
CIE-LABlab(54.47, 15.36, -55.11)
CIE-LCHlch(54.47, 57.21, 285.58°)
OKLaboklab(61.26% -0.0175 -0.1574)
OKLCHoklch(61.26% 0.158 263.6)
XYZxyz(24.7054, 22.4167, 74.9617)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FE2 #E2B451
analogous
#51C7E2 #517FE2 #6C51E2
triadic
#517FE2 #E2517F #7FE251
tetradic
#517FE2 #E251C7 #E2B451 #51E26C
square
#517FE2 #E251C7 #E2B451 #51E26C
split-complementary
#517FE2 #E26C51 #C7E251
monochromatic
#1A449E #235BD3 #517FE2 #85A6EB #BACCF3

Accessibility & contrast

On white

3.83
#517FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#517FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FE2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FE2#FFFFFF#000000##000000
##517FE21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E6
Deuteranopia (green-blind)
#387CE0
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517fe2;
/* rgb */ color: rgb(81, 127, 226);
/* oklch */ color: oklch(61.3% 0.158 263.6);
Tailwind
colors: {
  custom: {
    50: '#8fa3ec',
    500: '#517fe2',
    950: '#000000',
  },
}
SCSS
$custom: #517fe2;
$custom-light: #8fa3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#517fe2",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 220.966,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61262,
    "c": 0.15833,
    "h": 263.6
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#517FE2
secondary
#E3D2AC
accent
#9612D3
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #517FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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