#516BB2#516BB2

#516BB2 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.1% C 0.116 H 267.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#516BB2
RGBrgb(81, 107, 178)
HSLhsl(224, 39%, 51%)
HSVhsv(224, 54%, 70%)
CMYKcmyk(54.5%, 39.9%, 0%, 30.2%)
CIE-LABlab(46.28, 11.50, -40.73)
CIE-LCHlch(46.28, 42.32, 285.77°)
OKLaboklab(54.09% -0.0054 -0.1154)
OKLCHoklch(54.09% 0.116 267.3)
XYZxyz(16.6842, 15.4779, 44.2192)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BB2 #B29851
analogous
#519BB2 #516BB2 #6851B2
triadic
#516BB2 #B2516B #6BB251
tetradic
#516BB2 #B2519B #B29851 #51B268
square
#516BB2 #B2519B #B29851 #51B268
split-complementary
#516BB2 #B26851 #9BB251
monochromatic
#2A385F #3D5189 #516BB2 #7B8FC5 #A6B3D8

Accessibility & contrast

On white

5.13
#516BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#516BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BB2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BB2#FFFFFF#000000##FFFFFF
##516BB21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#426AB0
Tritanopia (blue-blind)
#1D7A86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516bb2;
/* rgb */ color: rgb(81, 107, 178);
/* oklch */ color: oklch(54.1% 0.116 267.3);
Tailwind
colors: {
  custom: {
    50: '#8995c9',
    500: '#516bb2',
    950: '#000000',
  },
}
SCSS
$custom: #516bb2;
$custom-light: #8995c9;
$custom-dark: #000000;
JSON
{
  "hex": "#516bb2",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 223.918,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.11555,
    "h": 267.3
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#516BB2
secondary
#C5B99A
accent
#AF59CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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