#517FE4#517FE4

#517FE4 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.4% C 0.161 H 263.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#517FE4
RGBrgb(81, 127, 228)
HSLhsl(221, 73%, 61%)
HSVhsv(221, 64%, 89%)
CMYKcmyk(64.5%, 44.3%, 0%, 10.6%)
CIE-LABlab(54.58, 16.05, -56.04)
CIE-LCHlch(54.58, 58.29, 285.98°)
OKLaboklab(61.39% -0.0172 -0.1601)
OKLCHoklch(61.39% 0.161 263.9)
XYZxyz(24.9814, 22.5272, 76.4154)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FE4 #E4B651
analogous
#51C9E4 #517FE4 #6C51E4
triadic
#517FE4 #E4517F #7FE451
tetradic
#517FE4 #E451C9 #E4B651 #51E46C
square
#517FE4 #E451C9 #E4B651 #51E46C
split-complementary
#517FE4 #E46C51 #C9E451
monochromatic
#1944A2 #215AD7 #517FE4 #86A6EC #BBCDF4

Accessibility & contrast

On white

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

On black

5.51
#517FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FE4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FE4#FFFFFF#000000##000000
##517FE41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8AE8
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517fe4;
/* rgb */ color: rgb(81, 127, 228);
/* oklch */ color: oklch(61.4% 0.161 263.9);
Tailwind
colors: {
  custom: {
    50: '#90a3ed',
    500: '#517fe4',
    950: '#000000',
  },
}
SCSS
$custom: #517fe4;
$custom-light: #90a3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#517fe4",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 221.224,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61388,
    "c": 0.16102,
    "h": 263.9
  },
  "luminance": 0.2253
}

Semantic roles & 50–950 ramp

primary
#517FE4
secondary
#E4D3AC
accent
#9810D5
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #517FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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