#516CF2#516CF2

#516CF2 is a mid, highly saturated blue. Relative luminance 0.189; OKLCH L 58.6% C 0.203 H 270.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#516CF2
RGBrgb(81, 108, 242)
HSLhsl(230, 86%, 63%)
HSVhsv(230, 67%, 95%)
CMYKcmyk(66.5%, 55.4%, 0%, 5.1%)
CIE-LABlab(50.55, 32.55, -70.37)
CIE-LCHlch(50.55, 77.53, 294.83°)
OKLaboklab(58.61% 0.0012 -0.2025)
OKLCHoklch(58.61% 0.203 270.3)
XYZxyz(24.7775, 18.8829, 86.3262)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516CF2 #F2D751
analogous
#51BCF2 #516CF2 #8651F2
triadic
#516CF2 #F2516C #6CF251
tetradic
#516CF2 #F251BC #F2D751 #51F286
square
#516CF2 #F251BC #F2D751 #51F286
split-complementary
#516CF2 #F28651 #BCF251
monochromatic
#0E2BBB #183CEE #516CF2 #8A9CF6 #C3CCFB

Accessibility & contrast

On white

4.40
#516CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#516CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #516CF2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516CF2#FFFFFF#000000##000000
##516CF21.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #516cf2;
/* rgb */ color: rgb(81, 108, 242);
/* oklch */ color: oklch(58.6% 0.203 270.3);
Tailwind
colors: {
  custom: {
    50: '#9395f7',
    500: '#516cf2',
    950: '#000000',
  },
}
SCSS
$custom: #516cf2;
$custom-light: #9395f7;
$custom-dark: #000000;
JSON
{
  "hex": "#516cf2",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 229.938,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.2025,
    "h": 270.3
  },
  "luminance": 0.18885
}

Semantic roles & 50–950 ramp

primary
#516CF2
secondary
#ECE2B3
accent
#BD03E3
background
#F9F9FF
surface
#F2F1FF
border
#CCCBD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #516CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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