#516BCA#516BCA

#516BCA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.6% C 0.150 H 269.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#516BCA
RGBrgb(81, 107, 202)
HSLhsl(227, 53%, 55%)
HSVhsv(227, 60%, 79%)
CMYKcmyk(59.9%, 47%, 0%, 20.8%)
CIE-LABlab(47.66, 19.53, -52.40)
CIE-LCHlch(47.66, 55.93, 290.44°)
OKLaboklab(55.59% -0.0012 -0.1497)
OKLCHoklch(55.59% 0.15 269.5)
XYZxyz(19.3081, 16.5274, 58.0383)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516BCA #CAB051
analogous
#51A8CA #516BCA #7351CA
triadic
#516BCA #CA516B #6BCA51
tetradic
#516BCA #CA51A8 #CAB051 #51CA73
square
#516BCA #CA51A8 #CAB051 #51CA73
split-complementary
#516BCA #CA7351 #A8CA51
monochromatic
#25387B #344DAA #516BCA #8093D8 #AFBBE7

Accessibility & contrast

On white

4.88
#516BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#516BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516BCA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516BCA#FFFFFF#000000##FFFFFF
##516BCA1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CE
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #516bca;
/* rgb */ color: rgb(81, 107, 202);
/* oklch */ color: oklch(55.6% 0.150 269.5);
Tailwind
colors: {
  custom: {
    50: '#8c95db',
    500: '#516bca',
    950: '#000000',
  },
}
SCSS
$custom: #516bca;
$custom-light: #8c95db;
$custom-dark: #000000;
JSON
{
  "hex": "#516bca",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 227.107,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55592,
    "c": 0.14969,
    "h": 269.5
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

primary
#516BCA
secondary
#D5CAA2
accent
#BD4BDD
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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