#516EC3#516EC3

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

Color values

HEX#516EC3
RGBrgb(81, 110, 195)
HSLhsl(225, 49%, 54%)
HSVhsv(225, 58%, 76%)
CMYKcmyk(58.5%, 43.6%, 0%, 23.5%)
CIE-LABlab(48.06, 15.30, -47.75)
CIE-LCHlch(48.06, 50.14, 287.77°)
OKLaboklab(55.76% -0.0055 -0.136)
OKLCHoklch(55.76% 0.136 267.7)
XYZxyz(18.8163, 16.8398, 53.8780)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516EC3 #C3A651
analogous
#51A7C3 #516EC3 #6D51C3
triadic
#516EC3 #C3516E #6EC351
tetradic
#516EC3 #C351A7 #C3A651 #51C36D
square
#516EC3 #C351A7 #C3A651 #51C36D
split-complementary
#516EC3 #C36D51 #A7C351
monochromatic
#273A72 #3752A0 #516EC3 #7F94D3 #ACBAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516EC3#FFFFFF#000000##FFFFFF
##516EC31.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)
#4878C6
Deuteranopia (green-blind)
#386DC1
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #516ec3;
/* rgb */ color: rgb(81, 110, 195);
/* oklch */ color: oklch(55.8% 0.136 267.7);
Tailwind
colors: {
  custom: {
    50: '#8b97d5',
    500: '#516ec3',
    950: '#000000',
  },
}
SCSS
$custom: #516ec3;
$custom-light: #8b97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#516ec3",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 224.737,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55763,
    "c": 0.13607,
    "h": 267.7
  },
  "luminance": 0.16841
}

Semantic roles & 50–950 ramp

primary
#516EC3
secondary
#D0C4A0
accent
#B550D8
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #516EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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