#516CCB#516CCB

#516CCB is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.9% C 0.150 H 269.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#516CCB
RGBrgb(81, 108, 203)
HSLhsl(227, 54%, 56%)
HSVhsv(227, 60%, 80%)
CMYKcmyk(60.1%, 46.8%, 0%, 20.4%)
CIE-LABlab(47.99, 19.25, -52.45)
CIE-LCHlch(47.99, 55.87, 290.15°)
OKLaboklab(55.86% -0.0021 -0.1498)
OKLCHoklch(55.86% 0.15 269.2)
XYZxyz(19.5318, 16.7846, 58.6988)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CCB #CBB051
analogous
#51A9CB #516CCB #7351CB
triadic
#516CCB #CB516C #6CCB51
tetradic
#516CCB #CB51A9 #CBB051 #51CB73
square
#516CCB #CB51A9 #CBB051 #51CB73
split-complementary
#516CCB #CB7351 #A9CB51
monochromatic
#25387C #334EAC #516CCB #8094D9 #AFBCE7

Accessibility & contrast

On white

4.82
#516CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#516CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516CCB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CCB#FFFFFF#000000##FFFFFF
##516CCB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#2A6DC9
Tritanopia (blue-blind)
#008192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516ccb;
/* rgb */ color: rgb(81, 108, 203);
/* oklch */ color: oklch(55.9% 0.150 269.2);
Tailwind
colors: {
  custom: {
    50: '#8c95db',
    500: '#516ccb',
    950: '#000000',
  },
}
SCSS
$custom: #516ccb;
$custom-light: #8c95db;
$custom-dark: #000000;
JSON
{
  "hex": "#516ccb",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 226.721,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.14982,
    "h": 269.2
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#516CCB
secondary
#D5CAA3
accent
#BD4ADD
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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