#516FCB#516FCB

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

Color values

HEX#516FCB
RGBrgb(81, 111, 203)
HSLhsl(225, 54%, 56%)
HSVhsv(225, 60%, 80%)
CMYKcmyk(60.1%, 45.3%, 0%, 20.4%)
CIE-LABlab(48.80, 17.38, -51.16)
CIE-LCHlch(48.80, 54.03, 288.76°)
OKLaboklab(56.48% -0.0052 -0.146)
OKLCHoklch(56.48% 0.146 267.9)
XYZxyz(19.8536, 17.4284, 58.8061)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FCB #CBAD51
analogous
#51ACCB #516FCB #7051CB
triadic
#516FCB #CB516F #6FCB51
tetradic
#516FCB #CB51AC #CBAD51 #51CB70
square
#516FCB #CB51AC #CBAD51 #51CB70
split-complementary
#516FCB #CB7051 #ACCB51
monochromatic
#253B7C #3351AC #516FCB #8096D9 #AFBDE7

Accessibility & contrast

On white

4.68
#516FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#516FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516FCB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FCB#FFFFFF#000000##FFFFFF
##516FCB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #516fcb;
/* rgb */ color: rgb(81, 111, 203);
/* oklch */ color: oklch(56.5% 0.146 267.9);
Tailwind
colors: {
  custom: {
    50: '#8c97db',
    500: '#516fcb',
    950: '#000000',
  },
}
SCSS
$custom: #516fcb;
$custom-light: #8c97db;
$custom-dark: #000000;
JSON
{
  "hex": "#516fcb",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 225.246,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.14605,
    "h": 267.9
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#516FCB
secondary
#D5C9A3
accent
#B94ADD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #516FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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