#516CC3#516CC3

#516CC3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.3% C 0.139 H 268.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#516CC3
RGBrgb(81, 108, 195)
HSLhsl(226, 49%, 54%)
HSVhsv(226, 58%, 76%)
CMYKcmyk(58.5%, 44.6%, 0%, 23.5%)
CIE-LABlab(47.51, 16.54, -48.62)
CIE-LCHlch(47.51, 51.36, 288.79°)
OKLaboklab(55.35% -0.0033 -0.1385)
OKLCHoklch(55.35% 0.139 268.6)
XYZxyz(18.6029, 16.4131, 53.8069)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CC3 #C3A851
analogous
#51A5C3 #516CC3 #6F51C3
triadic
#516CC3 #C3516C #6CC351
tetradic
#516CC3 #C351A5 #C3A851 #51C36F
square
#516CC3 #C351A5 #C3A851 #51C36F
split-complementary
#516CC3 #C36F51 #A5C351
monochromatic
#273972 #3750A0 #516CC3 #7F92D3 #ACB9E2

Accessibility & contrast

On white

4.90
#516CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#516CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CC3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CC3#FFFFFF#000000##FFFFFF
##516CC31.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4476C6
Deuteranopia (green-blind)
#346CC1
Tritanopia (blue-blind)
#007F8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516cc3;
/* rgb */ color: rgb(81, 108, 195);
/* oklch */ color: oklch(55.3% 0.139 268.6);
Tailwind
colors: {
  custom: {
    50: '#8b95d6',
    500: '#516cc3',
    950: '#000000',
  },
}
SCSS
$custom: #516cc3;
$custom-light: #8b95d6;
$custom-dark: #000000;
JSON
{
  "hex": "#516cc3",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 195
  },
  "hsl": {
    "h": 225.789,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55345,
    "c": 0.13858,
    "h": 268.6
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#516CC3
secondary
#D0C5A0
accent
#B850D8
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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