#516DDF#516DDF

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

Color values

HEX#516DDF
RGBrgb(81, 109, 223)
HSLhsl(228, 69%, 60%)
HSVhsv(228, 64%, 87%)
CMYKcmyk(63.7%, 51.1%, 0%, 12.5%)
CIE-LABlab(49.51, 25.44, -61.38)
CIE-LCHlch(49.51, 66.44, 292.51°)
OKLaboklab(57.42% -0.0009 -0.1761)
OKLCHoklch(57.42% 0.176 269.7)
XYZxyz(22.1767, 18.0123, 72.1058)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DDF #DFC351
analogous
#51B4DF #516DDF #7C51DF
triadic
#516DDF #DF516D #6DDF51
tetradic
#516DDF #DF51B4 #DFC351 #51DF7C
square
#516DDF #DF51B4 #DFC351 #51DF7C
split-complementary
#516DDF #DF7C51 #B4DF51
monochromatic
#1C3599 #2647CD #516DDF #8598E9 #B8C4F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516DDF#FFFFFF#000000##000000
##516DDF1.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)
#297CE3
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#00889C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #516ddf;
/* rgb */ color: rgb(81, 109, 223);
/* oklch */ color: oklch(57.4% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#9096ea',
    500: '#516ddf',
    950: '#000000',
  },
}
SCSS
$custom: #516ddf;
$custom-light: #9096ea;
$custom-dark: #000000;
JSON
{
  "hex": "#516ddf",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 223
  },
  "hsl": {
    "h": 228.169,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57423,
    "c": 0.17605,
    "h": 269.7
  },
  "luminance": 0.18014
}

Semantic roles & 50–950 ramp

primary
#516DDF
secondary
#E1D7AA
accent
#C93CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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