#517FD3#517FD3

#517FD3 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.3% C 0.138 H 261.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#517FD3
RGBrgb(81, 127, 211)
HSLhsl(219, 60%, 57%)
HSVhsv(219, 62%, 83%)
CMYKcmyk(61.6%, 39.8%, 0%, 17.3%)
CIE-LABlab(53.63, 10.25, -48.00)
CIE-LCHlch(53.63, 49.08, 282.05°)
OKLaboklab(60.35% -0.0204 -0.1365)
OKLCHoklch(60.35% 0.138 261.5)
XYZxyz(22.7365, 21.6292, 64.5921)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FD3 #D3A551
analogous
#51C0D3 #517FD3 #6451D3
triadic
#517FD3 #D3517F #7FD351
tetradic
#517FD3 #D351C0 #D3A551 #51D364
square
#517FD3 #D351C0 #D3A551 #51D364
split-complementary
#517FD3 #D36451 #C0D351
monochromatic
#224687 #2F5FB8 #517FD3 #82A3DF #B3C7EC

Accessibility & contrast

On white

3.94
#517FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#517FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FD3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FD3#FFFFFF#000000##000000
##517FD31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D6
Deuteranopia (green-blind)
#487BD1
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517fd3;
/* rgb */ color: rgb(81, 127, 211);
/* oklch */ color: oklch(60.3% 0.138 261.5);
Tailwind
colors: {
  custom: {
    50: '#8da3e1',
    500: '#517fd3',
    950: '#000000',
  },
}
SCSS
$custom: #517fd3;
$custom-light: #8da3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#517fd3",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 218.769,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60347,
    "c": 0.13801,
    "h": 261.5
  },
  "luminance": 0.21631
}

Semantic roles & 50–950 ramp

primary
#517FD3
secondary
#DAC8A6
accent
#AB45E3
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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