#517FEB#517FEB

#517FEB is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.8% C 0.170 H 264.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#517FEB
RGBrgb(81, 127, 235)
HSLhsl(222, 79%, 62%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(65.5%, 46%, 0%, 7.8%)
CIE-LABlab(54.99, 18.45, -59.29)
CIE-LCHlch(54.99, 62.10, 287.29°)
OKLaboklab(61.84% -0.0161 -0.1697)
OKLCHoklch(61.84% 0.17 264.6)
XYZxyz(25.9729, 22.9237, 81.6371)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FEB #EBBD51
analogous
#51CCEB #517FEB #7051EB
triadic
#517FEB #EB517F #7FEB51
tetradic
#517FEB #EB51CC #EBBD51 #51EB70
square
#517FEB #EB51CC #EBBD51 #51EB70
split-complementary
#517FEB #EB7051 #CCEB51
monochromatic
#1442AE #1A57E5 #517FEB #88A7F1 #BFD0F8

Accessibility & contrast

On white

3.76
#517FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#517FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FEB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FEB#FFFFFF#000000##000000
##517FEB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#2A7DE9
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #517feb;
/* rgb */ color: rgb(81, 127, 235);
/* oklch */ color: oklch(61.8% 0.170 264.6);
Tailwind
colors: {
  custom: {
    50: '#91a3f2',
    500: '#517feb',
    950: '#000000',
  },
}
SCSS
$custom: #517feb;
$custom-light: #91a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#517feb",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 222.078,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.17042,
    "h": 264.6
  },
  "luminance": 0.22926
}

Semantic roles & 50–950 ramp

primary
#517FEB
secondary
#E8D7B0
accent
#9D0ADC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #517FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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