#516FDF#516FDF

#516FDF is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.8% C 0.174 H 269.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#516FDF
RGBrgb(81, 111, 223)
HSLhsl(227, 69%, 60%)
HSVhsv(227, 64%, 87%)
CMYKcmyk(63.7%, 50.2%, 0%, 12.5%)
CIE-LABlab(50.03, 24.20, -60.54)
CIE-LCHlch(50.03, 65.20, 291.79°)
OKLaboklab(57.82% -0.0027 -0.1736)
OKLCHoklch(57.82% 0.174 269.1)
XYZxyz(22.3925, 18.4439, 72.1777)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FDF #DFC151
analogous
#51B6DF #516FDF #7A51DF
triadic
#516FDF #DF516F #6FDF51
tetradic
#516FDF #DF51B6 #DFC151 #51DF7A
square
#516FDF #DF51B6 #DFC151 #51DF7A
split-complementary
#516FDF #DF7A51 #B6DF51
monochromatic
#1C3799 #2649CD #516FDF #859AE9 #B8C5F2

Accessibility & contrast

On white

4.48
#516FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#516FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FDF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FDF#FFFFFF#000000##000000
##516FDF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516fdf;
/* rgb */ color: rgb(81, 111, 223);
/* oklch */ color: oklch(57.8% 0.174 269.1);
Tailwind
colors: {
  custom: {
    50: '#8f97ea',
    500: '#516fdf',
    950: '#000000',
  },
}
SCSS
$custom: #516fdf;
$custom-light: #8f97ea;
$custom-dark: #000000;
JSON
{
  "hex": "#516fdf",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 227.324,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.17358,
    "h": 269.1
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#516FDF
secondary
#E1D6AA
accent
#C73CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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