#518EE5#518EE5

#518EE5 is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.6% C 0.146 H 257.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#518EE5
RGBrgb(81, 142, 229)
HSLhsl(215, 74%, 61%)
HSVhsv(215, 65%, 90%)
CMYKcmyk(64.6%, 38%, 0%, 10.2%)
CIE-LABlab(58.74, 7.35, -49.97)
CIE-LCHlch(58.74, 50.51, 278.36°)
OKLaboklab(64.62% -0.0316 -0.1421)
OKLCHoklch(64.62% 0.146 257.5)
XYZxyz(27.2041, 26.7498, 77.8431)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518EE5 #E5A851
analogous
#51D8E5 #518EE5 #5E51E5
triadic
#518EE5 #E5518E #8EE551
tetradic
#518EE5 #E551D8 #E5A851 #51E55E
square
#518EE5 #E551D8 #E5A851 #51E55E
split-complementary
#518EE5 #E55E51 #D8E551
monochromatic
#1852A3 #206CD8 #518EE5 #86B1ED #BBD3F5

Accessibility & contrast

On white

3.31
#518EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#518EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518EE5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518EE5#FFFFFF#000000##000000
##518EE51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795E9
Deuteranopia (green-blind)
#5287E3
Tritanopia (blue-blind)
#00A2AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #518ee5;
/* rgb */ color: rgb(81, 142, 229);
/* oklch */ color: oklch(64.6% 0.146 257.5);
Tailwind
colors: {
  custom: {
    50: '#90aeed',
    500: '#518ee5',
    950: '#000000',
  },
}
SCSS
$custom: #518ee5;
$custom-light: #90aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#518ee5",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 229
  },
  "hsl": {
    "h": 215.27,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64623,
    "c": 0.14556,
    "h": 257.5
  },
  "luminance": 0.26752
}

Semantic roles & 50–950 ramp

primary
#518EE5
secondary
#E5CEAD
accent
#840FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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