#517BF3#517BF3

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

Color values

HEX#517BF3
RGBrgb(81, 123, 243)
HSLhsl(224, 87%, 64%)
HSVhsv(224, 67%, 95%)
CMYKcmyk(66.7%, 49.4%, 0%, 4.7%)
CIE-LABlab(54.43, 23.67, -64.65)
CIE-LCHlch(54.43, 68.84, 290.11°)
OKLaboklab(61.57% -0.0115 -0.1855)
OKLCHoklch(61.57% 0.186 266.5)
XYZxyz(26.6483, 22.3837, 87.6928)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BF3 #F3C951
analogous
#51CCF3 #517BF3 #7851F3
triadic
#517BF3 #F3517B #7BF351
tetradic
#517BF3 #F351CC #F3C951 #51F378
square
#517BF3 #F351CC #F3C951 #51F378
split-complementary
#517BF3 #F37851 #CCF351
monochromatic
#0D3BBD #1850EF #517BF3 #8AA6F7 #C4D2FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517BF3#FFFFFF#000000##000000
##517BF31.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)
#368AF7
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517bf3;
/* rgb */ color: rgb(81, 123, 243);
/* oklch */ color: oklch(61.6% 0.186 266.5);
Tailwind
colors: {
  custom: {
    50: '#92a0f8',
    500: '#517bf3',
    950: '#000000',
  },
}
SCSS
$custom: #517bf3;
$custom-light: #92a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#517bf3",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 224.444,
    "s": 87.097,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.18582,
    "h": 266.5
  },
  "luminance": 0.22386
}

Semantic roles & 50–950 ramp

primary
#517BF3
secondary
#EDDEB3
accent
#A902E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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