#516CCF#516CCF

#516CCF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.155 H 269.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#516CCF
RGBrgb(81, 108, 207)
HSLhsl(227, 57%, 56%)
HSVhsv(227, 61%, 81%)
CMYKcmyk(60.9%, 47.8%, 0%, 18.8%)
CIE-LABlab(48.23, 20.61, -54.35)
CIE-LCHlch(48.23, 58.12, 290.76°)
OKLaboklab(56.13% -0.0016 -0.1554)
OKLCHoklch(56.13% 0.155 269.4)
XYZxyz(20.0146, 16.9778, 61.2417)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CCF #CFB451
analogous
#51ABCF #516CCF #7551CF
triadic
#516CCF #CF516C #6CCF51
tetradic
#516CCF #CF51AB #CFB451 #51CF75
square
#516CCF #CF51AB #CFB451 #51CF75
split-complementary
#516CCF #CF7551 #ABCF51
monochromatic
#243882 #314DB2 #516CCF #8195DC #B1BDE9

Accessibility & contrast

On white

4.78
#516CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#516CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CCF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CCF#FFFFFF#000000##FFFFFF
##516CCF1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D3
Deuteranopia (green-blind)
#236DCD
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516ccf;
/* rgb */ color: rgb(81, 108, 207);
/* oklch */ color: oklch(56.1% 0.155 269.4);
Tailwind
colors: {
  custom: {
    50: '#8d95de',
    500: '#516ccf',
    950: '#000000',
  },
}
SCSS
$custom: #516ccf;
$custom-light: #8d95de;
$custom-dark: #000000;
JSON
{
  "hex": "#516ccf",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 227.143,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56127,
    "c": 0.15539,
    "h": 269.4
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#516CCF
secondary
#D8CDA4
accent
#BF48E0
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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