#518BE5#518BE5

#518BE5 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.0% C 0.149 H 258.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#518BE5
RGBrgb(81, 139, 229)
HSLhsl(216, 74%, 61%)
HSVhsv(216, 65%, 90%)
CMYKcmyk(64.6%, 39.3%, 0%, 10.2%)
CIE-LABlab(57.91, 9.13, -51.29)
CIE-LCHlch(57.91, 52.09, 280.10°)
OKLaboklab(63.98% -0.0286 -0.146)
OKLCHoklch(63.98% 0.149 258.9)
XYZxyz(26.7638, 25.8691, 77.6963)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518BE5 #E5AB51
analogous
#51D5E5 #518BE5 #6151E5
triadic
#518BE5 #E5518B #8BE551
tetradic
#518BE5 #E551D5 #E5AB51 #51E561
square
#518BE5 #E551D5 #E5AB51 #51E561
split-complementary
#518BE5 #E56151 #D5E551
monochromatic
#184FA3 #2068D8 #518BE5 #86AEED #BBD2F5

Accessibility & contrast

On white

3.40
#518BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#518BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518BE5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518BE5#FFFFFF#000000##000000
##518BE51.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6393E9
Deuteranopia (green-blind)
#4D85E3
Tritanopia (blue-blind)
#00A0AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #518be5;
/* rgb */ color: rgb(81, 139, 229);
/* oklch */ color: oklch(64.0% 0.149 258.9);
Tailwind
colors: {
  custom: {
    50: '#90acee',
    500: '#518be5',
    950: '#000000',
  },
}
SCSS
$custom: #518be5;
$custom-light: #90acee;
$custom-dark: #000000;
JSON
{
  "hex": "#518be5",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 216.486,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63978,
    "c": 0.14876,
    "h": 258.9
  },
  "luminance": 0.25872
}

Semantic roles & 50–950 ramp

primary
#518BE5
secondary
#E5CFAD
accent
#880FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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