#516ABC#516ABC

#516ABC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.5% C 0.131 H 269.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#516ABC
RGBrgb(81, 106, 188)
HSLhsl(226, 44%, 53%)
HSVhsv(226, 57%, 74%)
CMYKcmyk(56.9%, 43.6%, 0%, 26.3%)
CIE-LABlab(46.56, 15.45, -46.09)
CIE-LCHlch(46.56, 48.61, 288.53°)
OKLaboklab(54.49% -0.0023 -0.1311)
OKLCHoklch(54.49% 0.131 269)
XYZxyz(17.6215, 15.6869, 49.6665)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516ABC #BCA351
analogous
#51A0BC #516ABC #6D51BC
triadic
#516ABC #BC516A #6ABC51
tetradic
#516ABC #BC51A0 #BCA351 #51BC6D
square
#516ABC #BC51A0 #BCA351 #51BC6D
split-complementary
#516ABC #BC6D51 #A0BC51
monochromatic
#29386A #3A4F96 #516ABC #7D90CD #A9B6DE

Accessibility & contrast

On white

5.08
#516ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516ABC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516ABC#FFFFFF#000000##FFFFFF
##516ABC1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BF
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#087C8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #516abc;
/* rgb */ color: rgb(81, 106, 188);
/* oklch */ color: oklch(54.5% 0.131 269.0);
Tailwind
colors: {
  custom: {
    50: '#8a94d0',
    500: '#516abc',
    950: '#000000',
  },
}
SCSS
$custom: #516abc;
$custom-light: #8a94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#516abc",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 225.981,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.13117,
    "h": 269
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#516ABC
secondary
#CCC19D
accent
#B654D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #516ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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