#516CBA#516CBA

#516CBA is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.8% C 0.126 H 267.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#516CBA
RGBrgb(81, 108, 186)
HSLhsl(225, 43%, 52%)
HSVhsv(225, 56%, 73%)
CMYKcmyk(56.5%, 41.9%, 0%, 27.1%)
CIE-LABlab(47.00, 13.53, -44.24)
CIE-LCHlch(47.00, 46.26, 287.01°)
OKLaboklab(54.79% -0.005 -0.1257)
OKLCHoklch(54.79% 0.126 267.7)
XYZxyz(17.6159, 16.0183, 48.6084)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CBA #BA9F51
analogous
#51A1BA #516CBA #6A51BA
triadic
#516CBA #BA516C #6CBA51
tetradic
#516CBA #BA51A1 #BA9F51 #51BA6A
square
#516CBA #BA51A1 #BA9F51 #51BA6A
split-complementary
#516CBA #BA6A51 #A1BA51
monochromatic
#293968 #3A5193 #516CBA #7D91CB #A9B6DD

Accessibility & contrast

On white

5.00
#516CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#516CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CBA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CBA#FFFFFF#000000##FFFFFF
##516CBA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BD
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#0D7D8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #516cba;
/* rgb */ color: rgb(81, 108, 186);
/* oklch */ color: oklch(54.8% 0.126 267.7);
Tailwind
colors: {
  custom: {
    50: '#8a95cf',
    500: '#516cba',
    950: '#000000',
  },
}
SCSS
$custom: #516cba;
$custom-light: #8a95cf;
$custom-dark: #000000;
JSON
{
  "hex": "#516cba",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 186
  },
  "hsl": {
    "h": 224.571,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.12579,
    "h": 267.7
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#516CBA
secondary
#CABF9D
accent
#B355D3
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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