#516DD3#516DD3

#516DD3 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.6% C 0.160 H 269.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#516DD3
RGBrgb(81, 109, 211)
HSLhsl(227, 60%, 57%)
HSVhsv(227, 62%, 83%)
CMYKcmyk(61.6%, 48.3%, 0%, 17.3%)
CIE-LABlab(48.75, 21.34, -55.80)
CIE-LCHlch(48.75, 59.75, 290.93°)
OKLaboklab(56.6% -0.0021 -0.1596)
OKLCHoklch(56.6% 0.16 269.2)
XYZxyz(20.6159, 17.3880, 63.8852)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DD3 #D3B751
analogous
#51AED3 #516DD3 #7651D3
triadic
#516DD3 #D3516D #6DD351
tetradic
#516DD3 #D351AE #D3B751 #51D376
square
#516DD3 #D351AE #D3B751 #51D376
split-complementary
#516DD3 #D37651 #AED351
monochromatic
#223887 #2F4CB8 #516DD3 #8296DF #B3BFEC

Accessibility & contrast

On white

4.69
#516DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#516DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DD3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DD3#FFFFFF#000000##FFFFFF
##516DD31.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#387AD7
Deuteranopia (green-blind)
#1F6ED1
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516dd3;
/* rgb */ color: rgb(81, 109, 211);
/* oklch */ color: oklch(56.6% 0.160 269.2);
Tailwind
colors: {
  custom: {
    50: '#8d96e1',
    500: '#516dd3',
    950: '#000000',
  },
}
SCSS
$custom: #516dd3;
$custom-light: #8d96e1;
$custom-dark: #000000;
JSON
{
  "hex": "#516dd3",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 211
  },
  "hsl": {
    "h": 227.077,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.15966,
    "h": 269.2
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#516DD3
secondary
#DACFA6
accent
#C145E3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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