#516FCA#516FCA

#516FCA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.4% C 0.145 H 267.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#516FCA
RGBrgb(81, 111, 202)
HSLhsl(225, 53%, 55%)
HSVhsv(225, 60%, 79%)
CMYKcmyk(59.9%, 45%, 0%, 20.8%)
CIE-LABlab(48.74, 17.04, -50.68)
CIE-LCHlch(48.74, 53.47, 288.58°)
OKLaboklab(56.42% -0.0054 -0.1446)
OKLCHoklch(56.42% 0.145 267.9)
XYZxyz(19.7348, 17.3808, 58.1805)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FCA #CAAC51
analogous
#51ABCA #516FCA #6F51CA
triadic
#516FCA #CA516F #6FCA51
tetradic
#516FCA #CA51AB #CAAC51 #51CA6F
square
#516FCA #CA51AB #CAAC51 #51CA6F
split-complementary
#516FCA #CA6F51 #ABCA51
monochromatic
#253B7B #3451AA #516FCA #8096D8 #AFBDE7

Accessibility & contrast

On white

4.69
#516FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#516FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FCA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FCA#FFFFFF#000000##FFFFFF
##516FCA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACD
Deuteranopia (green-blind)
#326FC8
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516fca;
/* rgb */ color: rgb(81, 111, 202);
/* oklch */ color: oklch(56.4% 0.145 267.9);
Tailwind
colors: {
  custom: {
    50: '#8c97db',
    500: '#516fca',
    950: '#000000',
  },
}
SCSS
$custom: #516fca;
$custom-light: #8c97db;
$custom-dark: #000000;
JSON
{
  "hex": "#516fca",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 225.124,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.14466,
    "h": 267.9
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#516FCA
secondary
#D5C8A2
accent
#B94BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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