#516FDE#516FDE

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

Color values

HEX#516FDE
RGBrgb(81, 111, 222)
HSLhsl(227, 68%, 59%)
HSVhsv(227, 64%, 87%)
CMYKcmyk(63.5%, 50%, 0%, 12.9%)
CIE-LABlab(49.97, 23.86, -60.08)
CIE-LCHlch(49.97, 64.64, 291.66°)
OKLaboklab(57.75% -0.0028 -0.1722)
OKLCHoklch(57.75% 0.172 269.1)
XYZxyz(22.2581, 18.3901, 71.4698)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FDE #DEC051
analogous
#51B6DE #516FDE #7A51DE
triadic
#516FDE #DE516F #6FDE51
tetradic
#516FDE #DE51B6 #DEC051 #51DE7A
square
#516FDE #DE51B6 #DEC051 #51DE7A
split-complementary
#516FDE #DE7A51 #B6DE51
monochromatic
#1D3798 #274ACB #516FDE #849AE8 #B8C4F2

Accessibility & contrast

On white

4.49
#516FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#516FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FDE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FDE#FFFFFF#000000##000000
##516FDE1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE2
Deuteranopia (green-blind)
#0271DC
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #516fde;
/* rgb */ color: rgb(81, 111, 222);
/* oklch */ color: oklch(57.7% 0.172 269.1);
Tailwind
colors: {
  custom: {
    50: '#8f97e9',
    500: '#516fde',
    950: '#000000',
  },
}
SCSS
$custom: #516fde;
$custom-light: #8f97e9;
$custom-dark: #000000;
JSON
{
  "hex": "#516fde",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 222
  },
  "hsl": {
    "h": 227.234,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.17222,
    "h": 269.1
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#516FDE
secondary
#E1D5AA
accent
#C63DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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