#516BDE#516BDE

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

Color values

HEX#516BDE
RGBrgb(81, 107, 222)
HSLhsl(229, 68%, 59%)
HSVhsv(229, 64%, 87%)
CMYKcmyk(63.5%, 51.8%, 0%, 12.9%)
CIE-LABlab(48.93, 26.34, -61.75)
CIE-LCHlch(48.93, 67.13, 293.10°)
OKLaboklab(56.96% 0.0009 -0.1772)
OKLCHoklch(56.96% 0.177 270.3)
XYZxyz(21.8314, 17.5367, 71.3275)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BDE #DEC451
analogous
#51B2DE #516BDE #7E51DE
triadic
#516BDE #DE516B #6BDE51
tetradic
#516BDE #DE51B2 #DEC451 #51DE7E
square
#516BDE #DE51B2 #DEC451 #51DE7E
split-complementary
#516BDE #DE7E51 #B2DE51
monochromatic
#1D3398 #2745CB #516BDE #8497E8 #B8C3F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516BDE#FFFFFF#000000##FFFFFF
##516BDE1.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)
#247BE2
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#00869A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516bde;
/* rgb */ color: rgb(81, 107, 222);
/* oklch */ color: oklch(57.0% 0.177 270.3);
Tailwind
colors: {
  custom: {
    50: '#8f95e9',
    500: '#516bde',
    950: '#000000',
  },
}
SCSS
$custom: #516bde;
$custom-light: #8f95e9;
$custom-dark: #000000;
JSON
{
  "hex": "#516bde",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 222
  },
  "hsl": {
    "h": 228.936,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.17717,
    "h": 270.3
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#516BDE
secondary
#E1D7AA
accent
#CB3DEB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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