#516DC3#516DC3

#516DC3 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.6% C 0.137 H 268.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#516DC3
RGBrgb(81, 109, 195)
HSLhsl(225, 49%, 54%)
HSVhsv(225, 58%, 76%)
CMYKcmyk(58.5%, 44.1%, 0%, 23.5%)
CIE-LABlab(47.78, 15.92, -48.18)
CIE-LCHlch(47.78, 50.74, 288.29°)
OKLaboklab(55.55% -0.0044 -0.1372)
OKLCHoklch(55.55% 0.137 268.2)
XYZxyz(18.7090, 16.6252, 53.8423)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DC3 #C3A751
analogous
#51A6C3 #516DC3 #6E51C3
triadic
#516DC3 #C3516D #6DC351
tetradic
#516DC3 #C351A6 #C3A751 #51C36E
square
#516DC3 #C351A6 #C3A751 #51C36E
split-complementary
#516DC3 #C36E51 #A6C351
monochromatic
#273A72 #3751A0 #516DC3 #7F93D3 #ACB9E2

Accessibility & contrast

On white

4.86
#516DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#516DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DC3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DC3#FFFFFF#000000##FFFFFF
##516DC31.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4677C6
Deuteranopia (green-blind)
#366DC1
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516dc3;
/* rgb */ color: rgb(81, 109, 195);
/* oklch */ color: oklch(55.6% 0.137 268.2);
Tailwind
colors: {
  custom: {
    50: '#8b96d6',
    500: '#516dc3',
    950: '#000000',
  },
}
SCSS
$custom: #516dc3;
$custom-light: #8b96d6;
$custom-dark: #000000;
JSON
{
  "hex": "#516dc3",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 195
  },
  "hsl": {
    "h": 225.263,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.13732,
    "h": 268.2
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#516DC3
secondary
#D0C4A0
accent
#B750D8
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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