#516CDF#516CDF

#516CDF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.2% C 0.177 H 270.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#516CDF
RGBrgb(81, 108, 223)
HSLhsl(229, 69%, 60%)
HSVhsv(229, 64%, 87%)
CMYKcmyk(63.7%, 51.6%, 0%, 12.5%)
CIE-LABlab(49.25, 26.06, -61.79)
CIE-LCHlch(49.25, 67.07, 292.87°)
OKLaboklab(57.23% 0.0001 -0.1773)
OKLCHoklch(57.23% 0.177 270)
XYZxyz(22.0707, 17.8002, 72.0704)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CDF #DFC451
analogous
#51B3DF #516CDF #7D51DF
triadic
#516CDF #DF516C #6CDF51
tetradic
#516CDF #DF51B3 #DFC451 #51DF7D
square
#516CDF #DF51B3 #DFC451 #51DF7D
split-complementary
#516CDF #DF7D51 #B3DF51
monochromatic
#1C3499 #2646CD #516CDF #8598E9 #B8C3F2

Accessibility & contrast

On white

4.60
#516CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#516CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #516CDF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CDF#FFFFFF#000000##FFFFFF
##516CDF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#267CE3
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #516cdf;
/* rgb */ color: rgb(81, 108, 223);
/* oklch */ color: oklch(57.2% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#9095ea',
    500: '#516cdf',
    950: '#000000',
  },
}
SCSS
$custom: #516cdf;
$custom-light: #9095ea;
$custom-dark: #000000;
JSON
{
  "hex": "#516cdf",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 228.592,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.17729,
    "h": 270
  },
  "luminance": 0.17802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #516CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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