#516FD6#516FD6

#516FD6 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.161 H 268.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#516FD6
RGBrgb(81, 111, 214)
HSLhsl(226, 62%, 58%)
HSVhsv(226, 62%, 84%)
CMYKcmyk(62.1%, 48.1%, 0%, 16.1%)
CIE-LABlab(49.46, 21.12, -56.36)
CIE-LCHlch(49.46, 60.19, 290.54°)
OKLaboklab(57.2% -0.0037 -0.1613)
OKLCHoklch(57.2% 0.161 268.7)
XYZxyz(21.2113, 17.9714, 65.9563)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FD6 #D6B851
analogous
#51B1D6 #516FD6 #7551D6
triadic
#516FD6 #D6516F #6FD651
tetradic
#516FD6 #D651B1 #D6B851 #51D675
square
#516FD6 #D651B1 #D6B851 #51D675
split-complementary
#516FD6 #D67551 #B1D651
monochromatic
#21398C #2D4DBD #516FD6 #8398E2 #B4C1ED

Accessibility & contrast

On white

4.57
#516FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#516FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FD6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FD6#FFFFFF#000000##000000
##516FD61.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7CDA
Deuteranopia (green-blind)
#1F70D4
Tritanopia (blue-blind)
#008798
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516fd6;
/* rgb */ color: rgb(81, 111, 214);
/* oklch */ color: oklch(57.2% 0.161 268.7);
Tailwind
colors: {
  custom: {
    50: '#8e97e3',
    500: '#516fd6',
    950: '#000000',
  },
}
SCSS
$custom: #516fd6;
$custom-light: #8e97e3;
$custom-dark: #000000;
JSON
{
  "hex": "#516fd6",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 214
  },
  "hsl": {
    "h": 226.466,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.1613,
    "h": 268.7
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#516FD6
secondary
#DCD0A7
accent
#C043E5
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #516FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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