#518DE8#518DE8

#518DE8 is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.6% C 0.151 H 258.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#518DE8
RGBrgb(81, 141, 232)
HSLhsl(216, 77%, 61%)
HSVhsv(216, 65%, 91%)
CMYKcmyk(65.1%, 39.2%, 0%, 9%)
CIE-LABlab(58.62, 8.96, -51.82)
CIE-LCHlch(58.62, 52.59, 279.81°)
OKLaboklab(64.58% -0.0299 -0.1475)
OKLCHoklch(64.58% 0.151 258.5)
XYZxyz(27.4785, 26.6226, 80.0188)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518DE8 #E8AC51
analogous
#51D9E8 #518DE8 #6151E8
triadic
#518DE8 #E8518D #8DE851
tetradic
#518DE8 #E851D9 #E8AC51 #51E861
square
#518DE8 #E851D9 #E8AC51 #51E861
split-complementary
#518DE8 #E86151 #D9E851
monochromatic
#1650A8 #1D6ADE #518DE8 #87B0EF #BDD4F6

Accessibility & contrast

On white

3.32
#518DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#518DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518DE8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518DE8#FFFFFF#000000##000000
##518DE81.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EC
Deuteranopia (green-blind)
#4E87E6
Tritanopia (blue-blind)
#00A2AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #518de8;
/* rgb */ color: rgb(81, 141, 232);
/* oklch */ color: oklch(64.6% 0.151 258.5);
Tailwind
colors: {
  custom: {
    50: '#90adf0',
    500: '#518de8',
    950: '#000000',
  },
}
SCSS
$custom: #518de8;
$custom-light: #90adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#518de8",
  "rgb": {
    "r": 81,
    "g": 141,
    "b": 232
  },
  "hsl": {
    "h": 216.159,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64582,
    "c": 0.15055,
    "h": 258.5
  },
  "luminance": 0.26625
}

Semantic roles & 50–950 ramp

primary
#518DE8
secondary
#E7D0AE
accent
#880DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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