#516DD6#516DD6

#516DD6 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.164 H 269.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#516DD6
RGBrgb(81, 109, 214)
HSLhsl(227, 62%, 58%)
HSVhsv(227, 62%, 84%)
CMYKcmyk(62.1%, 49.1%, 0%, 16.1%)
CIE-LABlab(48.93, 22.37, -57.21)
CIE-LCHlch(48.93, 61.43, 291.35°)
OKLaboklab(56.8% -0.0018 -0.1638)
OKLCHoklch(56.8% 0.164 269.4)
XYZxyz(20.9955, 17.5398, 65.8844)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DD6 #D6BA51
analogous
#51B0D6 #516DD6 #7751D6
triadic
#516DD6 #D6516D #6DD651
tetradic
#516DD6 #D651B0 #D6BA51 #51D677
square
#516DD6 #D651B0 #D6BA51 #51D677
split-complementary
#516DD6 #D67751 #B0D651
monochromatic
#21378C #2D4BBD #516DD6 #8397E2 #B4C0ED

Accessibility & contrast

On white

4.66
#516DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#516DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516DD6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DD6#FFFFFF#000000##FFFFFF
##516DD61.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357BDA
Deuteranopia (green-blind)
#176FD4
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516dd6;
/* rgb */ color: rgb(81, 109, 214);
/* oklch */ color: oklch(56.8% 0.164 269.4);
Tailwind
colors: {
  custom: {
    50: '#8e96e3',
    500: '#516dd6',
    950: '#000000',
  },
}
SCSS
$custom: #516dd6;
$custom-light: #8e96e3;
$custom-dark: #000000;
JSON
{
  "hex": "#516dd6",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 214
  },
  "hsl": {
    "h": 227.368,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.568,
    "c": 0.16379,
    "h": 269.4
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#516DD6
secondary
#DCD1A7
accent
#C343E5
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #516DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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