#516BB8#516BB8

#516BB8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.4% C 0.124 H 268.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#516BB8
RGBrgb(81, 107, 184)
HSLhsl(225, 42%, 52%)
HSVhsv(225, 56%, 72%)
CMYKcmyk(56%, 41.8%, 0%, 27.8%)
CIE-LABlab(46.61, 13.49, -43.69)
CIE-LCHlch(46.61, 45.73, 287.15°)
OKLaboklab(54.45% -0.0042 -0.1241)
OKLCHoklch(54.45% 0.124 268.1)
XYZxyz(17.2999, 15.7241, 47.4615)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BB8 #B89E51
analogous
#519FB8 #516BB8 #6A51B8
triadic
#516BB8 #B8516B #6BB851
tetradic
#516BB8 #B8519F #B89E51 #51B86A
square
#516BB8 #B8519F #B89E51 #51B86A
split-complementary
#516BB8 #B86A51 #9FB851
monochromatic
#293865 #3B5191 #516BB8 #7C90CA #A8B5DB

Accessibility & contrast

On white

5.07
#516BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#516BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BB8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BB8#FFFFFF#000000##FFFFFF
##516BB81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BB
Deuteranopia (green-blind)
#3E6AB6
Tritanopia (blue-blind)
#137C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516bb8;
/* rgb */ color: rgb(81, 107, 184);
/* oklch */ color: oklch(54.4% 0.124 268.1);
Tailwind
colors: {
  custom: {
    50: '#8995ce',
    500: '#516bb8',
    950: '#000000',
  },
}
SCSS
$custom: #516bb8;
$custom-light: #8995ce;
$custom-dark: #000000;
JSON
{
  "hex": "#516bb8",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 184
  },
  "hsl": {
    "h": 224.854,
    "s": 42.041,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.12418,
    "h": 268.1
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#516BB8
secondary
#C9BE9C
accent
#B356D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #516BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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