#516FFF#516FFF

#516FFF is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.2% C 0.216 H 269.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#516FFF
RGBrgb(81, 111, 255)
HSLhsl(230, 100%, 66%)
HSVhsv(230, 68%, 100%)
CMYKcmyk(68.2%, 56.5%, 0%, 0%)
CIE-LABlab(52.21, 35.15, -74.89)
CIE-LCHlch(52.21, 82.73, 295.14°)
OKLaboklab(60.15% -0.0008 -0.2158)
OKLCHoklch(60.15% 0.216 269.8)
XYZxyz(27.1216, 20.3355, 97.0842)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516FFF #FFE151
analogous
#51C6FF #516FFF #8A51FF
triadic
#516FFF #FF516F #6FFF51
tetradic
#516FFF #FF51C6 #FFE151 #51FF8A
square
#516FFF #FF51C6 #FFE151 #51FF8A
split-complementary
#516FFF #FF8A51 #C6FF51
monochromatic
#0025D6 #143CFF #516FFF #8EA2FF #CBD4FF

Accessibility & contrast

On white

4.14
#516FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#516FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516FFF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516FFF#FFFFFF#000000##000000
##516FFF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0075FC
Tritanopia (blue-blind)
#0092AC
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #516fff;
/* rgb */ color: rgb(81, 111, 255);
/* oklch */ color: oklch(60.2% 0.216 269.8);
Tailwind
colors: {
  custom: {
    50: '#9598ff',
    500: '#516fff',
    950: '#000000',
  },
}
SCSS
$custom: #516fff;
$custom-light: #9598ff;
$custom-dark: #000000;
JSON
{
  "hex": "#516fff",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 255
  },
  "hsl": {
    "h": 229.655,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60152,
    "c": 0.21576,
    "h": 269.8
  },
  "luminance": 0.20338
}

Semantic roles & 50–950 ramp

primary
#516FFF
secondary
#F3E9B9
accent
#BE00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #516FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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