#516EBA#516EBA

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

Color values

HEX#516EBA
RGBrgb(81, 110, 186)
HSLhsl(223, 43%, 52%)
HSVhsv(223, 56%, 73%)
CMYKcmyk(56.5%, 40.9%, 0%, 27.1%)
CIE-LABlab(47.55, 12.29, -43.36)
CIE-LCHlch(47.55, 45.06, 285.82°)
OKLaboklab(55.21% -0.0072 -0.1231)
OKLCHoklch(55.21% 0.123 266.7)
XYZxyz(17.8292, 16.4450, 48.6795)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EBA #BA9D51
analogous
#51A2BA #516EBA #6951BA
triadic
#516EBA #BA516E #6EBA51
tetradic
#516EBA #BA51A2 #BA9D51 #51BA69
square
#516EBA #BA51A2 #BA9D51 #51BA69
split-complementary
#516EBA #BA6951 #A2BA51
monochromatic
#293A68 #3A5393 #516EBA #7D93CB #A9B7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516EBA#FFFFFF#000000##FFFFFF
##516EBA1.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)
#4E76BD
Deuteranopia (green-blind)
#416CB8
Tritanopia (blue-blind)
#0C7F8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516eba;
/* rgb */ color: rgb(81, 110, 186);
/* oklch */ color: oklch(55.2% 0.123 266.7);
Tailwind
colors: {
  custom: {
    50: '#8a97cf',
    500: '#516eba',
    950: '#000000',
  },
}
SCSS
$custom: #516eba;
$custom-light: #8a97cf;
$custom-dark: #000000;
JSON
{
  "hex": "#516eba",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 223.429,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.1233,
    "h": 266.7
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#516EBA
secondary
#CABE9D
accent
#B055D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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