#516FDB#516FDB

#516FDB is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.5% C 0.168 H 268.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#516FDB
RGBrgb(81, 111, 219)
HSLhsl(227, 66%, 59%)
HSVhsv(227, 63%, 86%)
CMYKcmyk(63%, 49.3%, 0%, 14.1%)
CIE-LABlab(49.77, 22.83, -58.69)
CIE-LCHlch(49.77, 62.97, 291.25°)
OKLaboklab(57.54% -0.0031 -0.1681)
OKLCHoklch(57.54% 0.168 268.9)
XYZxyz(21.8596, 18.2308, 69.3710)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FDB #DBBD51
analogous
#51B4DB #516FDB #7851DB
triadic
#516FDB #DB516F #6FDB51
tetradic
#516FDB #DB51B4 #DBBD51 #51DB78
square
#516FDB #DB51B4 #DBBD51 #51DB78
split-complementary
#516FDB #DB7851 #B4DB51
monochromatic
#1E3893 #294BC6 #516FDB #8499E5 #B6C3F0

Accessibility & contrast

On white

4.52
#516FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#516FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FDB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FDB#FFFFFF#000000##000000
##516FDB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#1170D9
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516fdb;
/* rgb */ color: rgb(81, 111, 219);
/* oklch */ color: oklch(57.5% 0.168 268.9);
Tailwind
colors: {
  custom: {
    50: '#8f97e7',
    500: '#516fdb',
    950: '#000000',
  },
}
SCSS
$custom: #516fdb;
$custom-light: #8f97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#516fdb",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 226.957,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.16814,
    "h": 268.9
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#516FDB
secondary
#DFD3A9
accent
#C43FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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