#516ED6#516ED6

#516ED6 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.0% C 0.163 H 269.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#516ED6
RGBrgb(81, 110, 214)
HSLhsl(227, 62%, 58%)
HSVhsv(227, 62%, 84%)
CMYKcmyk(62.1%, 48.6%, 0%, 16.1%)
CIE-LABlab(49.20, 21.74, -56.78)
CIE-LCHlch(49.20, 60.81, 290.95°)
OKLaboklab(57% -0.0027 -0.1625)
OKLCHoklch(57% 0.163 269)
XYZxyz(21.1028, 17.7544, 65.9202)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ED6 #D6B951
analogous
#51B1D6 #516ED6 #7651D6
triadic
#516ED6 #D6516E #6ED651
tetradic
#516ED6 #D651B1 #D6B951 #51D676
square
#516ED6 #D651B1 #D6B951 #51D676
split-complementary
#516ED6 #D67651 #B1D651
monochromatic
#21388C #2D4CBD #516ED6 #8397E2 #B4C1ED

Accessibility & contrast

On white

4.61
#516ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#516ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516ED6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516ED6#FFFFFF#000000##FFFFFF
##516ED61.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#387BDA
Deuteranopia (green-blind)
#1B6FD4
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516ed6;
/* rgb */ color: rgb(81, 110, 214);
/* oklch */ color: oklch(57.0% 0.163 269.0);
Tailwind
colors: {
  custom: {
    50: '#8e97e3',
    500: '#516ed6',
    950: '#000000',
  },
}
SCSS
$custom: #516ed6;
$custom-light: #8e97e3;
$custom-dark: #000000;
JSON
{
  "hex": "#516ed6",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 214
  },
  "hsl": {
    "h": 226.917,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.16254,
    "h": 269
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#516ED6
secondary
#DCD0A7
accent
#C243E5
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #516ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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