#518EE8#518EE8

#518EE8 is a light, vivid blue. Relative luminance 0.269; OKLCH L 64.8% C 0.149 H 258.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#518EE8
RGBrgb(81, 142, 232)
HSLhsl(216, 77%, 61%)
HSVhsv(216, 65%, 91%)
CMYKcmyk(65.1%, 38.8%, 0%, 9%)
CIE-LABlab(58.90, 8.37, -51.39)
CIE-LCHlch(58.90, 52.06, 279.25°)
OKLaboklab(64.8% -0.0309 -0.1462)
OKLCHoklch(64.8% 0.149 258.1)
XYZxyz(27.6266, 26.9188, 80.0682)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518EE8 #E8AB51
analogous
#51D9E8 #518EE8 #6051E8
triadic
#518EE8 #E8518E #8EE851
tetradic
#518EE8 #E851D9 #E8AB51 #51E860
square
#518EE8 #E851D9 #E8AB51 #51E860
split-complementary
#518EE8 #E86051 #D9E851
monochromatic
#1651A8 #1D6BDE #518EE8 #87B1EF #BDD4F6

Accessibility & contrast

On white

3.29
#518EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#518EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518EE8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518EE8#FFFFFF#000000##000000
##518EE81.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EC
Deuteranopia (green-blind)
#4F87E6
Tritanopia (blue-blind)
#00A3B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #518ee8;
/* rgb */ color: rgb(81, 142, 232);
/* oklch */ color: oklch(64.8% 0.149 258.1);
Tailwind
colors: {
  custom: {
    50: '#90aef0',
    500: '#518ee8',
    950: '#000000',
  },
}
SCSS
$custom: #518ee8;
$custom-light: #90aef0;
$custom-dark: #000000;
JSON
{
  "hex": "#518ee8",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 215.762,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64796,
    "c": 0.14947,
    "h": 258.1
  },
  "luminance": 0.26922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #518EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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