#517FE8#517FE8

#517FE8 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.166 H 264.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#517FE8
RGBrgb(81, 127, 232)
HSLhsl(222, 77%, 61%)
HSVhsv(222, 65%, 91%)
CMYKcmyk(65.1%, 45.3%, 0%, 9%)
CIE-LABlab(54.82, 17.42, -57.90)
CIE-LCHlch(54.82, 60.47, 286.75°)
OKLaboklab(61.64% -0.0165 -0.1656)
OKLCHoklch(61.64% 0.166 264.3)
XYZxyz(25.5431, 22.7518, 79.3737)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FE8 #E8BA51
analogous
#51CBE8 #517FE8 #6F51E8
triadic
#517FE8 #E8517F #7FE851
tetradic
#517FE8 #E851CB #E8BA51 #51E86F
square
#517FE8 #E851CB #E8BA51 #51E86F
split-complementary
#517FE8 #E86F51 #CBE851
monochromatic
#1643A8 #1D58DE #517FE8 #87A7EF #BDCFF6

Accessibility & contrast

On white

3.78
#517FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#517FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FE8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FE8#FFFFFF#000000##000000
##517FE81.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BEC
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517fe8;
/* rgb */ color: rgb(81, 127, 232);
/* oklch */ color: oklch(61.6% 0.166 264.3);
Tailwind
colors: {
  custom: {
    50: '#90a3f0',
    500: '#517fe8',
    950: '#000000',
  },
}
SCSS
$custom: #517fe8;
$custom-light: #90a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#517fe8",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 221.722,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61643,
    "c": 0.16641,
    "h": 264.3
  },
  "luminance": 0.22754
}

Semantic roles & 50–950 ramp

primary
#517FE8
secondary
#E7D5AE
accent
#9B0DD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #517FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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