#518AE4#518AE4

#518AE4 is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.7% C 0.149 H 259.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#518AE4
RGBrgb(81, 138, 228)
HSLhsl(217, 73%, 61%)
HSVhsv(217, 64%, 89%)
CMYKcmyk(64.5%, 39.5%, 0%, 10.6%)
CIE-LABlab(57.58, 9.39, -51.25)
CIE-LCHlch(57.58, 52.11, 280.38°)
OKLaboklab(63.71% -0.0279 -0.1459)
OKLCHoklch(63.71% 0.149 259.2)
XYZxyz(26.4804, 25.5252, 76.9151)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518AE4 #E4AB51
analogous
#51D3E4 #518AE4 #6251E4
triadic
#518AE4 #E4518A #8AE451
tetradic
#518AE4 #E451D3 #E4AB51 #51E462
square
#518AE4 #E451D3 #E4AB51 #51E462
split-complementary
#518AE4 #E46251 #D3E451
monochromatic
#194EA2 #2168D7 #518AE4 #86AEEC #BBD1F4

Accessibility & contrast

On white

3.44
#518AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#518AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518AE4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518AE4#FFFFFF#000000##000000
##518AE41.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6292E8
Deuteranopia (green-blind)
#4C84E2
Tritanopia (blue-blind)
#009FAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #518ae4;
/* rgb */ color: rgb(81, 138, 228);
/* oklch */ color: oklch(63.7% 0.149 259.2);
Tailwind
colors: {
  custom: {
    50: '#8fabed',
    500: '#518ae4',
    950: '#000000',
  },
}
SCSS
$custom: #518ae4;
$custom-light: #8fabed;
$custom-dark: #000000;
JSON
{
  "hex": "#518ae4",
  "rgb": {
    "r": 81,
    "g": 138,
    "b": 228
  },
  "hsl": {
    "h": 216.735,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63706,
    "c": 0.14854,
    "h": 259.2
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#518AE4
secondary
#E4CFAC
accent
#8910D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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