#516FBE#516FBE

#516FBE is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.7% C 0.128 H 266.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#516FBE
RGBrgb(81, 111, 190)
HSLhsl(223, 46%, 53%)
HSVhsv(223, 57%, 75%)
CMYKcmyk(57.4%, 41.6%, 0%, 25.5%)
CIE-LABlab(48.05, 13.00, -44.88)
CIE-LCHlch(48.05, 46.72, 286.15°)
OKLaboklab(55.67% -0.0075 -0.1275)
OKLCHoklch(55.67% 0.128 266.6)
XYZxyz(18.3689, 16.8345, 50.9866)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FBE #BEA051
analogous
#51A6BE #516FBE #6951BE
triadic
#516FBE #BE516F #6FBE51
tetradic
#516FBE #BE51A6 #BEA051 #51BE69
square
#516FBE #BE51A6 #BEA051 #51BE69
split-complementary
#516FBE #BE6951 #A6BE51
monochromatic
#283B6C #395399 #516FBE #7E94CF #AAB9DF

Accessibility & contrast

On white

4.81
#516FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#516FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FBE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FBE#FFFFFF#000000##FFFFFF
##516FBE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C1
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516fbe;
/* rgb */ color: rgb(81, 111, 190);
/* oklch */ color: oklch(55.7% 0.128 266.6);
Tailwind
colors: {
  custom: {
    50: '#8a98d2',
    500: '#516fbe',
    950: '#000000',
  },
}
SCSS
$custom: #516fbe;
$custom-light: #8a98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#516fbe",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 223.486,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.12775,
    "h": 266.6
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#516FBE
secondary
#CDC09E
accent
#B153D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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