#518EE4#518EE4

#518EE4 is a light, vivid blue. Relative luminance 0.267; OKLCH L 64.6% C 0.144 H 257.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#518EE4
RGBrgb(81, 142, 228)
HSLhsl(215, 73%, 61%)
HSVhsv(215, 64%, 89%)
CMYKcmyk(64.5%, 37.7%, 0%, 10.6%)
CIE-LABlab(58.69, 7.01, -49.49)
CIE-LCHlch(58.69, 49.99, 278.06°)
OKLaboklab(64.57% -0.0318 -0.1407)
OKLCHoklch(64.57% 0.144 257.3)
XYZxyz(27.0649, 26.6941, 77.1099)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518EE4 #E4A751
analogous
#51D7E4 #518EE4 #5D51E4
triadic
#518EE4 #E4518E #8EE451
tetradic
#518EE4 #E451D7 #E4A751 #51E45D
square
#518EE4 #E451D7 #E4A751 #51E45D
split-complementary
#518EE4 #E45D51 #D7E451
monochromatic
#1952A2 #216CD7 #518EE4 #86B0EC #BBD3F4

Accessibility & contrast

On white

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

On black

6.34
#518EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518EE4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518EE4#FFFFFF#000000##000000
##518EE41.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6895E7
Deuteranopia (green-blind)
#5387E2
Tritanopia (blue-blind)
#00A2AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #518ee4;
/* rgb */ color: rgb(81, 142, 228);
/* oklch */ color: oklch(64.6% 0.144 257.3);
Tailwind
colors: {
  custom: {
    50: '#8faeed',
    500: '#518ee4',
    950: '#000000',
  },
}
SCSS
$custom: #518ee4;
$custom-light: #8faeed;
$custom-dark: #000000;
JSON
{
  "hex": "#518ee4",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 215.102,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64565,
    "c": 0.14425,
    "h": 257.3
  },
  "luminance": 0.26697
}

Semantic roles & 50–950 ramp

primary
#518EE4
secondary
#E4CDAC
accent
#8310D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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