#518FF2#518FF2

#518FF2 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.6% C 0.161 H 259.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#518FF2
RGBrgb(81, 143, 242)
HSLhsl(217, 86%, 63%)
HSVhsv(217, 67%, 95%)
CMYKcmyk(66.5%, 40.9%, 0%, 5.1%)
CIE-LABlab(59.71, 11.19, -55.63)
CIE-LCHlch(59.71, 56.74, 281.37°)
OKLaboklab(65.6% -0.0298 -0.1587)
OKLCHoklch(65.6% 0.161 259.4)
XYZxyz(29.2371, 27.8021, 87.8127)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518FF2 #F2B451
analogous
#51E0F2 #518FF2 #6351F2
triadic
#518FF2 #F2518F #8FF251
tetradic
#518FF2 #F251E0 #F2B451 #51F263
square
#518FF2 #F251E0 #F2B451 #51F263
split-complementary
#518FF2 #F26351 #E0F251
monochromatic
#0E50BB #186AEE #518FF2 #8AB4F6 #C3D8FB

Accessibility & contrast

On white

3.20
#518FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#518FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518FF2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518FF2#FFFFFF#000000##000000
##518FF21.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#4889F0
Tritanopia (blue-blind)
#00A6B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #518ff2;
/* rgb */ color: rgb(81, 143, 242);
/* oklch */ color: oklch(65.6% 0.161 259.4);
Tailwind
colors: {
  custom: {
    50: '#92aff7',
    500: '#518ff2',
    950: '#000000',
  },
}
SCSS
$custom: #518ff2;
$custom-light: #92aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#518ff2",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 216.894,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65599,
    "c": 0.16144,
    "h": 259.4
  },
  "luminance": 0.27805
}

Semantic roles & 50–950 ramp

primary
#518FF2
secondary
#ECD6B3
accent
#8C03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #518FF2

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

Preview Lab → · Contrast checker → · Palette generator →

#518FF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva