#516DBF#516DBF

#516DBF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.3% C 0.132 H 267.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#516DBF
RGBrgb(81, 109, 191)
HSLhsl(225, 46%, 53%)
HSVhsv(225, 58%, 75%)
CMYKcmyk(57.6%, 42.9%, 0%, 25.1%)
CIE-LABlab(47.56, 14.58, -46.24)
CIE-LCHlch(47.56, 48.49, 287.50°)
OKLaboklab(55.3% -0.0051 -0.1316)
OKLCHoklch(55.3% 0.132 267.8)
XYZxyz(18.2628, 16.4468, 51.4923)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516DBF #BFA351
analogous
#51A4BF #516DBF #6C51BF
triadic
#516DBF #BF516D #6DBF51
tetradic
#516DBF #BF51A4 #BFA351 #51BF6C
square
#516DBF #BF51A4 #BFA351 #51BF6C
split-complementary
#516DBF #BF6C51 #A4BF51
monochromatic
#283A6D #39519A #516DBF #7E93CF #AAB8E0

Accessibility & contrast

On white

4.90
#516DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#516DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516DBF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516DBF#FFFFFF#000000##FFFFFF
##516DBF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516dbf;
/* rgb */ color: rgb(81, 109, 191);
/* oklch */ color: oklch(55.3% 0.132 267.8);
Tailwind
colors: {
  custom: {
    50: '#8a96d3',
    500: '#516dbf',
    950: '#000000',
  },
}
SCSS
$custom: #516dbf;
$custom-light: #8a96d3;
$custom-dark: #000000;
JSON
{
  "hex": "#516dbf",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 191
  },
  "hsl": {
    "h": 224.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.13166,
    "h": 267.8
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#516DBF
secondary
#CEC29E
accent
#B452D6
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #516DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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