#518CE4#518CE4

#518CE4 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.1% C 0.146 H 258.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#518CE4
RGBrgb(81, 140, 228)
HSLhsl(216, 73%, 61%)
HSVhsv(216, 64%, 89%)
CMYKcmyk(64.5%, 38.6%, 0%, 10.6%)
CIE-LABlab(58.14, 8.20, -50.37)
CIE-LCHlch(58.14, 51.04, 279.24°)
OKLaboklab(64.13% -0.0298 -0.1433)
OKLCHoklch(64.13% 0.146 258.2)
XYZxyz(26.7700, 26.1043, 77.0116)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518CE4 #E4A951
analogous
#51D6E4 #518CE4 #5F51E4
triadic
#518CE4 #E4518C #8CE451
tetradic
#518CE4 #E451D6 #E4A951 #51E45F
square
#518CE4 #E451D6 #E4A951 #51E45F
split-complementary
#518CE4 #E45F51 #D6E451
monochromatic
#1950A2 #216AD7 #518CE4 #86AFEC #BBD2F4

Accessibility & contrast

On white

3.38
#518CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#518CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518CE4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518CE4#FFFFFF#000000##000000
##518CE41.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6593E8
Deuteranopia (green-blind)
#4F85E2
Tritanopia (blue-blind)
#00A0AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #518ce4;
/* rgb */ color: rgb(81, 140, 228);
/* oklch */ color: oklch(64.1% 0.146 258.2);
Tailwind
colors: {
  custom: {
    50: '#8faded',
    500: '#518ce4',
    950: '#000000',
  },
}
SCSS
$custom: #518ce4;
$custom-light: #8faded;
$custom-dark: #000000;
JSON
{
  "hex": "#518ce4",
  "rgb": {
    "r": 81,
    "g": 140,
    "b": 228
  },
  "hsl": {
    "h": 215.918,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64134,
    "c": 0.14637,
    "h": 258.2
  },
  "luminance": 0.26107
}

Semantic roles & 50–950 ramp

primary
#518CE4
secondary
#E4CEAC
accent
#8610D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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