#517BC3#517BC3

#517BC3 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.6% C 0.121 H 260.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#517BC3
RGBrgb(81, 123, 195)
HSLhsl(218, 49%, 54%)
HSVhsv(218, 58%, 76%)
CMYKcmyk(58.5%, 36.9%, 0%, 23.5%)
CIE-LABlab(51.67, 7.30, -42.01)
CIE-LCHlch(51.67, 42.64, 279.86°)
OKLaboklab(58.55% -0.0197 -0.119)
OKLCHoklch(58.55% 0.121 260.6)
XYZxyz(20.3232, 19.8537, 54.3803)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BC3 #C39951
analogous
#51B4C3 #517BC3 #6051C3
triadic
#517BC3 #C3517B #7BC351
tetradic
#517BC3 #C351B4 #C39951 #51C360
square
#517BC3 #C351B4 #C39951 #51C360
split-complementary
#517BC3 #C36051 #B4C351
monochromatic
#274372 #375EA0 #517BC3 #7F9ED3 #ACC0E2

Accessibility & contrast

On white

4.22
#517BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#517BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BC3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BC3#FFFFFF#000000##000000
##517BC31.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C6
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517bc3;
/* rgb */ color: rgb(81, 123, 195);
/* oklch */ color: oklch(58.6% 0.121 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ba0d5',
    500: '#517bc3',
    950: '#000000',
  },
}
SCSS
$custom: #517bc3;
$custom-light: #8ba0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#517bc3",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 195
  },
  "hsl": {
    "h": 217.895,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.12063,
    "h": 260.6
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#517BC3
secondary
#D0BEA0
accent
#A650D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #517BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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