#516CFF#516CFF

#516CFF is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 59.6% C 0.219 H 270.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#516CFF
RGBrgb(81, 108, 255)
HSLhsl(231, 100%, 66%)
HSVhsv(231, 68%, 100%)
CMYKcmyk(68.2%, 57.6%, 0%, 0%)
CIE-LABlab(51.49, 36.98, -76.07)
CIE-LCHlch(51.49, 84.58, 295.92°)
OKLaboklab(59.61% 0.0015 -0.2193)
OKLCHoklch(59.61% 0.219 270.4)
XYZxyz(26.7998, 19.6918, 96.9769)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CFF #FFE451
analogous
#51C3FF #516CFF #8D51FF
triadic
#516CFF #FF516C #6CFF51
tetradic
#516CFF #FF51C3 #FFE451 #51FF8D
square
#516CFF #FF51C3 #FFE451 #51FF8D
split-complementary
#516CFF #FF8D51 #C3FF51
monochromatic
#0021D6 #1438FF #516CFF #8EA0FF #CBD3FF

Accessibility & contrast

On white

4.25
#516CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#516CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CFF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CFF#FFFFFF#000000##000000
##516CFF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0073FC
Tritanopia (blue-blind)
#0090AB
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #516cff;
/* rgb */ color: rgb(81, 108, 255);
/* oklch */ color: oklch(59.6% 0.219 270.4);
Tailwind
colors: {
  custom: {
    50: '#9595ff',
    500: '#516cff',
    950: '#000000',
  },
}
SCSS
$custom: #516cff;
$custom-light: #9595ff;
$custom-dark: #000000;
JSON
{
  "hex": "#516cff",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 255
  },
  "hsl": {
    "h": 230.69,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59609,
    "c": 0.21927,
    "h": 270.4
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#516CFF
secondary
#F3EAB9
accent
#C200E6
background
#FAF9FF
surface
#F3F1FF
border
#CDCBD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #516CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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