#516BDA#516BDA

#516BDA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.7% C 0.172 H 270.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#516BDA
RGBrgb(81, 107, 218)
HSLhsl(229, 65%, 59%)
HSVhsv(229, 63%, 85%)
CMYKcmyk(62.8%, 50.9%, 0%, 14.5%)
CIE-LABlab(48.67, 24.98, -59.91)
CIE-LCHlch(48.67, 64.91, 292.63°)
OKLaboklab(56.68% 0.0006 -0.1718)
OKLCHoklch(56.68% 0.172 270.2)
XYZxyz(21.3017, 17.3248, 68.5375)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BDA #DAC051
analogous
#51AFDA #516BDA #7B51DA
triadic
#516BDA #DA516B #6BDA51
tetradic
#516BDA #DA51AF #DAC051 #51DA7B
square
#516BDA #DA51AF #DAC051 #51DA7B
split-complementary
#516BDA #DA7B51 #AFDA51
monochromatic
#1F3592 #2A47C4 #516BDA #8396E5 #B6C1EF

Accessibility & contrast

On white

4.70
#516BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#516BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BDA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BDA#FFFFFF#000000##FFFFFF
##516BDA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B7ADE
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516bda;
/* rgb */ color: rgb(81, 107, 218);
/* oklch */ color: oklch(56.7% 0.172 270.2);
Tailwind
colors: {
  custom: {
    50: '#8f95e6',
    500: '#516bda',
    950: '#000000',
  },
}
SCSS
$custom: #516bda;
$custom-light: #8f95e6;
$custom-dark: #000000;
JSON
{
  "hex": "#516bda",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 228.613,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.17175,
    "h": 270.2
  },
  "luminance": 0.17327
}

Semantic roles & 50–950 ramp

primary
#516BDA
secondary
#DED4A8
accent
#C840E8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #516BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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