#516FD3#516FD3

#516FD3 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.0% C 0.157 H 268.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#516FD3
RGBrgb(81, 111, 211)
HSLhsl(226, 60%, 57%)
HSVhsv(226, 62%, 83%)
CMYKcmyk(61.6%, 47.4%, 0%, 17.3%)
CIE-LABlab(49.28, 20.10, -54.95)
CIE-LCHlch(49.28, 58.51, 290.09°)
OKLaboklab(57% -0.0041 -0.1571)
OKLCHoklch(57% 0.157 268.5)
XYZxyz(20.8317, 17.8196, 63.9571)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FD3 #D3B551
analogous
#51B0D3 #516FD3 #7451D3
triadic
#516FD3 #D3516F #6FD351
tetradic
#516FD3 #D351B0 #D3B551 #51D374
square
#516FD3 #D351B0 #D3B551 #51D374
split-complementary
#516FD3 #D37451 #B0D351
monochromatic
#223A87 #2F4EB8 #516FD3 #8297DF #B3C0EC

Accessibility & contrast

On white

4.60
#516FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#516FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516FD3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FD3#FFFFFF#000000##FFFFFF
##516FD31.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD7
Deuteranopia (green-blind)
#2570D1
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516fd3;
/* rgb */ color: rgb(81, 111, 211);
/* oklch */ color: oklch(57.0% 0.157 268.5);
Tailwind
colors: {
  custom: {
    50: '#8d97e1',
    500: '#516fd3',
    950: '#000000',
  },
}
SCSS
$custom: #516fd3;
$custom-light: #8d97e1;
$custom-dark: #000000;
JSON
{
  "hex": "#516fd3",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 211
  },
  "hsl": {
    "h": 226.154,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.15716,
    "h": 268.5
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#516FD3
secondary
#DACEA6
accent
#BE45E3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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