#516DCF#516DCF

#516DCF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.3% C 0.154 H 269.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#516DCF
RGBrgb(81, 109, 207)
HSLhsl(227, 57%, 56%)
HSVhsv(227, 61%, 81%)
CMYKcmyk(60.9%, 47.3%, 0%, 18.8%)
CIE-LABlab(48.50, 19.98, -53.92)
CIE-LCHlch(48.50, 57.50, 290.33°)
OKLaboklab(56.33% -0.0026 -0.1541)
OKLCHoklch(56.33% 0.154 269)
XYZxyz(20.1207, 17.1899, 61.2771)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DCF #CFB351
analogous
#51ACCF #516DCF #7451CF
triadic
#516DCF #CF516D #6DCF51
tetradic
#516DCF #CF51AC #CFB351 #51CF74
square
#516DCF #CF51AC #CFB351 #51CF74
split-complementary
#516DCF #CF7451 #ACCF51
monochromatic
#243982 #314EB2 #516DCF #8195DC #B1BDE9

Accessibility & contrast

On white

4.73
#516DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#516DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DCF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DCF#FFFFFF#000000##FFFFFF
##516DCF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D3
Deuteranopia (green-blind)
#266ECD
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #516dcf;
/* rgb */ color: rgb(81, 109, 207);
/* oklch */ color: oklch(56.3% 0.154 269.0);
Tailwind
colors: {
  custom: {
    50: '#8d96de',
    500: '#516dcf',
    950: '#000000',
  },
}
SCSS
$custom: #516dcf;
$custom-light: #8d96de;
$custom-dark: #000000;
JSON
{
  "hex": "#516dcf",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 226.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.15413,
    "h": 269
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#516DCF
secondary
#D8CCA4
accent
#BE48E0
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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