#517BC4#517BC4

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

Color values

HEX#517BC4
RGBrgb(81, 123, 196)
HSLhsl(218, 49%, 54%)
HSVhsv(218, 59%, 77%)
CMYKcmyk(58.7%, 37.2%, 0%, 23.1%)
CIE-LABlab(51.72, 7.63, -42.50)
CIE-LCHlch(51.72, 43.18, 280.19°)
OKLaboklab(58.61% -0.0195 -0.1204)
OKLCHoklch(58.61% 0.122 260.8)
XYZxyz(20.4366, 19.8990, 54.9778)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BC4 #C49A51
analogous
#51B5C4 #517BC4 #6151C4
triadic
#517BC4 #C4517B #7BC451
tetradic
#517BC4 #C451B5 #C49A51 #51C461
square
#517BC4 #C451B5 #C49A51 #51C461
split-complementary
#517BC4 #C46151 #B5C451
monochromatic
#274373 #375EA1 #517BC4 #7F9ED3 #ACC0E3

Accessibility & contrast

On white

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

On black

4.98
#517BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BC4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BC4#FFFFFF#000000##000000
##517BC41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517bc4;
/* rgb */ color: rgb(81, 123, 196);
/* oklch */ color: oklch(58.6% 0.122 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ba0d6',
    500: '#517bc4',
    950: '#000000',
  },
}
SCSS
$custom: #517bc4;
$custom-light: #8ba0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#517bc4",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 218.087,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5861,
    "c": 0.12201,
    "h": 260.8
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#517BC4
secondary
#D1BFA0
accent
#A64FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #517BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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