#516BB5#516BB5

#516BB5 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.3% C 0.120 H 267.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#516BB5
RGBrgb(81, 107, 181)
HSLhsl(224, 40%, 51%)
HSVhsv(224, 55%, 71%)
CMYKcmyk(55.2%, 40.9%, 0%, 29%)
CIE-LABlab(46.44, 12.49, -42.21)
CIE-LCHlch(46.44, 44.02, 286.48°)
OKLaboklab(54.27% -0.0048 -0.1198)
OKLCHoklch(54.27% 0.12 267.7)
XYZxyz(16.9887, 15.5997, 45.8229)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BB5 #B59B51
analogous
#519DB5 #516BB5 #6951B5
triadic
#516BB5 #B5516B #6BB551
tetradic
#516BB5 #B5519D #B59B51 #51B569
square
#516BB5 #B5519D #B59B51 #51B569
split-complementary
#516BB5 #B56951 #9DB551
monochromatic
#2A3862 #3C518D #516BB5 #7C90C7 #A7B4DA

Accessibility & contrast

On white

5.10
#516BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#516BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BB5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BB5#FFFFFF#000000##FFFFFF
##516BB51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B8
Deuteranopia (green-blind)
#406AB3
Tritanopia (blue-blind)
#187B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516bb5;
/* rgb */ color: rgb(81, 107, 181);
/* oklch */ color: oklch(54.3% 0.120 267.7);
Tailwind
colors: {
  custom: {
    50: '#8995cb',
    500: '#516bb5',
    950: '#000000',
  },
}
SCSS
$custom: #516bb5;
$custom-light: #8995cb;
$custom-dark: #000000;
JSON
{
  "hex": "#516bb5",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 224.4,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54269,
    "c": 0.11987,
    "h": 267.7
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#516BB5
secondary
#C7BB9B
accent
#B158D0
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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