#516FC3#516FC3

#516FC3 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.0% C 0.135 H 267.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#516FC3
RGBrgb(81, 111, 195)
HSLhsl(224, 49%, 54%)
HSVhsv(224, 58%, 76%)
CMYKcmyk(58.5%, 43.1%, 0%, 23.5%)
CIE-LABlab(48.33, 14.68, -47.31)
CIE-LCHlch(48.33, 49.53, 287.23°)
OKLaboklab(55.97% -0.0066 -0.1347)
OKLCHoklch(55.97% 0.135 267.2)
XYZxyz(18.9248, 17.0568, 53.9142)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FC3 #C3A551
analogous
#51A8C3 #516FC3 #6C51C3
triadic
#516FC3 #C3516F #6FC351
tetradic
#516FC3 #C351A8 #C3A551 #51C36C
square
#516FC3 #C351A8 #C3A551 #51C36C
split-complementary
#516FC3 #C36C51 #A8C351
monochromatic
#273B72 #3753A0 #516FC3 #7F95D3 #ACBAE2

Accessibility & contrast

On white

4.76
#516FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#516FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FC3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FC3#FFFFFF#000000##FFFFFF
##516FC31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C6
Deuteranopia (green-blind)
#3A6EC1
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516fc3;
/* rgb */ color: rgb(81, 111, 195);
/* oklch */ color: oklch(56.0% 0.135 267.2);
Tailwind
colors: {
  custom: {
    50: '#8b97d5',
    500: '#516fc3',
    950: '#000000',
  },
}
SCSS
$custom: #516fc3;
$custom-light: #8b97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#516fc3",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 195
  },
  "hsl": {
    "h": 224.211,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55974,
    "c": 0.13483,
    "h": 267.2
  },
  "luminance": 0.17058
}

Semantic roles & 50–950 ramp

primary
#516FC3
secondary
#D0C3A0
accent
#B450D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #516FC3

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

Preview Lab → · Contrast checker → · Palette generator →

#516FC3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva