#516EDB#516EDB

#516EDB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.3% C 0.169 H 269.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#516EDB
RGBrgb(81, 110, 219)
HSLhsl(227, 66%, 59%)
HSVhsv(227, 63%, 86%)
CMYKcmyk(63%, 49.8%, 0%, 14.1%)
CIE-LABlab(49.51, 23.45, -59.11)
CIE-LCHlch(49.51, 63.59, 291.64°)
OKLaboklab(57.34% -0.0022 -0.1694)
OKLCHoklch(57.34% 0.169 269.3)
XYZxyz(21.7511, 18.0137, 69.3348)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EDB #DBBE51
analogous
#51B3DB #516EDB #7951DB
triadic
#516EDB #DB516E #6EDB51
tetradic
#516EDB #DB51B3 #DBBE51 #51DB79
square
#516EDB #DB51B3 #DBBE51 #51DB79
split-complementary
#516EDB #DB7951 #B3DB51
monochromatic
#1E3793 #294AC6 #516EDB #8498E5 #B6C3F0

Accessibility & contrast

On white

4.56
#516EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#516EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516EDB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516EDB#FFFFFF#000000##000000
##516EDB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#0A70D9
Tritanopia (blue-blind)
#00879A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516edb;
/* rgb */ color: rgb(81, 110, 219);
/* oklch */ color: oklch(57.3% 0.169 269.3);
Tailwind
colors: {
  custom: {
    50: '#8f97e7',
    500: '#516edb',
    950: '#000000',
  },
}
SCSS
$custom: #516edb;
$custom-light: #8f97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#516edb",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 219
  },
  "hsl": {
    "h": 227.391,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57342,
    "c": 0.16938,
    "h": 269.3
  },
  "luminance": 0.18016
}

Semantic roles & 50–950 ramp

primary
#516EDB
secondary
#DFD4A9
accent
#C53FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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