#518CE8#518CE8

#518CE8 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.4% C 0.152 H 259.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#518CE8
RGBrgb(81, 140, 232)
HSLhsl(217, 77%, 61%)
HSVhsv(217, 65%, 91%)
CMYKcmyk(65.1%, 39.7%, 0%, 9%)
CIE-LABlab(58.35, 9.56, -52.26)
CIE-LCHlch(58.35, 53.13, 280.37°)
OKLaboklab(64.37% -0.029 -0.1488)
OKLCHoklch(64.37% 0.152 259)
XYZxyz(27.3317, 26.3290, 79.9699)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518CE8 #E8AD51
analogous
#51D8E8 #518CE8 #6251E8
triadic
#518CE8 #E8518C #8CE851
tetradic
#518CE8 #E851D8 #E8AD51 #51E862
square
#518CE8 #E851D8 #E8AD51 #51E862
split-complementary
#518CE8 #E86251 #D8E851
monochromatic
#164FA8 #1D69DE #518CE8 #87B0EF #BDD3F6

Accessibility & contrast

On white

3.35
#518CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#518CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518CE8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518CE8#FFFFFF#000000##000000
##518CE81.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6294EC
Deuteranopia (green-blind)
#4C86E6
Tritanopia (blue-blind)
#00A1AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #518ce8;
/* rgb */ color: rgb(81, 140, 232);
/* oklch */ color: oklch(64.4% 0.152 259.0);
Tailwind
colors: {
  custom: {
    50: '#90adf0',
    500: '#518ce8',
    950: '#000000',
  },
}
SCSS
$custom: #518ce8;
$custom-light: #90adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#518ce8",
  "rgb": {
    "r": 81,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 216.556,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.15162,
    "h": 259
  },
  "luminance": 0.26332
}

Semantic roles & 50–950 ramp

primary
#518CE8
secondary
#E7D1AE
accent
#890DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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