#516DE4#516DE4

#516DE4 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.8% C 0.183 H 269.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#516DE4
RGBrgb(81, 109, 228)
HSLhsl(229, 73%, 61%)
HSVhsv(229, 64%, 89%)
CMYKcmyk(64.5%, 52.2%, 0%, 10.6%)
CIE-LABlab(49.84, 27.15, -63.66)
CIE-LCHlch(49.84, 69.21, 293.10°)
OKLaboklab(57.78% -0.0005 -0.1828)
OKLCHoklch(57.78% 0.183 269.9)
XYZxyz(22.8608, 18.2860, 75.7085)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DE4 #E4C851
analogous
#51B7E4 #516DE4 #7E51E4
triadic
#516DE4 #E4516D #6DE451
tetradic
#516DE4 #E451B7 #E4C851 #51E47E
square
#516DE4 #E451B7 #E4C851 #51E47E
split-complementary
#516DE4 #E47E51 #B7E451
monochromatic
#1933A2 #2144D7 #516DE4 #8699EC #BBC6F4

Accessibility & contrast

On white

4.51
#516DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#516DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516DE4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DE4#FFFFFF#000000##000000
##516DE41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#207DE8
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516de4;
/* rgb */ color: rgb(81, 109, 228);
/* oklch */ color: oklch(57.8% 0.183 269.9);
Tailwind
colors: {
  custom: {
    50: '#9096ed',
    500: '#516de4',
    950: '#000000',
  },
}
SCSS
$custom: #516de4;
$custom-light: #9096ed;
$custom-dark: #000000;
JSON
{
  "hex": "#516de4",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 228
  },
  "hsl": {
    "h": 228.571,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.18278,
    "h": 269.9
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#516DE4
secondary
#E4DAAC
accent
#B010D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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