#518EE7#518EE7

#518EE7 is a light, vivid blue. Relative luminance 0.269; OKLCH L 64.7% C 0.148 H 257.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#518EE7
RGBrgb(81, 142, 231)
HSLhsl(216, 76%, 61%)
HSVhsv(216, 65%, 91%)
CMYKcmyk(64.9%, 38.5%, 0%, 9.4%)
CIE-LABlab(58.85, 8.03, -50.91)
CIE-LCHlch(58.85, 51.54, 278.96°)
OKLaboklab(64.74% -0.0311 -0.1449)
OKLCHoklch(64.74% 0.148 257.9)
XYZxyz(27.4850, 26.8622, 79.3223)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518EE7 #E7AA51
analogous
#51D9E7 #518EE7 #5F51E7
triadic
#518EE7 #E7518E #8EE751
tetradic
#518EE7 #E751D9 #E7AA51 #51E75F
square
#518EE7 #E751D9 #E7AA51 #51E75F
split-complementary
#518EE7 #E75F51 #D9E751
monochromatic
#1751A7 #1E6CDC #518EE7 #87B1EE #BDD4F6

Accessibility & contrast

On white

3.30
#518EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#518EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518EE7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518EE7#FFFFFF#000000##000000
##518EE71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EB
Deuteranopia (green-blind)
#5087E5
Tritanopia (blue-blind)
#00A2AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #518ee7;
/* rgb */ color: rgb(81, 142, 231);
/* oklch */ color: oklch(64.7% 0.148 257.9);
Tailwind
colors: {
  custom: {
    50: '#90aeef',
    500: '#518ee7',
    950: '#000000',
  },
}
SCSS
$custom: #518ee7;
$custom-light: #90aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#518ee7",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 215.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.14817,
    "h": 257.9
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

primary
#518EE7
secondary
#E6CFAE
accent
#860ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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