#518AE2#518AE2

#518AE2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.6% C 0.146 H 258.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#518AE2
RGBrgb(81, 138, 226)
HSLhsl(216, 71%, 60%)
HSVhsv(216, 64%, 89%)
CMYKcmyk(64.2%, 38.9%, 0%, 11.4%)
CIE-LABlab(57.48, 8.71, -50.31)
CIE-LCHlch(57.48, 51.05, 279.82°)
OKLaboklab(63.59% -0.0283 -0.1431)
OKLCHoklch(63.59% 0.146 258.8)
XYZxyz(26.2044, 25.4148, 75.4613)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518AE2 #E2A951
analogous
#51D2E2 #518AE2 #6051E2
triadic
#518AE2 #E2518A #8AE251
tetradic
#518AE2 #E251D2 #E2A951 #51E260
square
#518AE2 #E251D2 #E2A951 #51E260
split-complementary
#518AE2 #E26051 #D2E251
monochromatic
#1A4E9E #2368D3 #518AE2 #85ADEB #BAD1F3

Accessibility & contrast

On white

3.45
#518AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#518AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518AE2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518AE2#FFFFFF#000000##000000
##518AE21.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6391E6
Deuteranopia (green-blind)
#4E84E0
Tritanopia (blue-blind)
#009EAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #518ae2;
/* rgb */ color: rgb(81, 138, 226);
/* oklch */ color: oklch(63.6% 0.146 258.8);
Tailwind
colors: {
  custom: {
    50: '#8fabeb',
    500: '#518ae2',
    950: '#000000',
  },
}
SCSS
$custom: #518ae2;
$custom-light: #8fabeb;
$custom-dark: #000000;
JSON
{
  "hex": "#518ae2",
  "rgb": {
    "r": 81,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 216.414,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63589,
    "c": 0.1459,
    "h": 258.8
  },
  "luminance": 0.25417
}

Semantic roles & 50–950 ramp

primary
#518AE2
secondary
#E3CDAC
accent
#8712D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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