#516BDF#516BDF

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

Color values

HEX#516BDF
RGBrgb(81, 107, 223)
HSLhsl(229, 69%, 60%)
HSVhsv(229, 64%, 87%)
CMYKcmyk(63.7%, 52%, 0%, 12.5%)
CIE-LABlab(49.00, 26.68, -62.21)
CIE-LCHlch(49.00, 67.69, 293.21°)
OKLaboklab(57.03% 0.001 -0.1785)
OKLCHoklch(57.03% 0.179 270.3)
XYZxyz(21.9658, 17.5905, 72.0355)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BDF #DFC551
analogous
#51B2DF #516BDF #7E51DF
triadic
#516BDF #DF516B #6BDF51
tetradic
#516BDF #DF51B2 #DFC551 #51DF7E
square
#516BDF #DF51B2 #DFC551 #51DF7E
split-complementary
#516BDF #DF7E51 #B2DF51
monochromatic
#1C3399 #2644CD #516BDF #8597E9 #B8C3F2

Accessibility & contrast

On white

4.65
#516BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#516BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516BDF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BDF#FFFFFF#000000##FFFFFF
##516BDF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#227BE3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516bdf;
/* rgb */ color: rgb(81, 107, 223);
/* oklch */ color: oklch(57.0% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#9095ea',
    500: '#516bdf',
    950: '#000000',
  },
}
SCSS
$custom: #516bdf;
$custom-light: #9095ea;
$custom-dark: #000000;
JSON
{
  "hex": "#516bdf",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 229.014,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.17852,
    "h": 270.3
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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