#518AE5#518AE5

#518AE5 is a light, vivid blue. Relative luminance 0.256; OKLCH L 63.8% C 0.150 H 259.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#518AE5
RGBrgb(81, 138, 229)
HSLhsl(217, 74%, 61%)
HSVhsv(217, 65%, 90%)
CMYKcmyk(64.6%, 39.7%, 0%, 10.2%)
CIE-LABlab(57.64, 9.73, -51.72)
CIE-LCHlch(57.64, 52.63, 280.66°)
OKLaboklab(63.77% -0.0277 -0.1473)
OKLCHoklch(63.77% 0.15 259.4)
XYZxyz(26.6196, 25.5809, 77.6483)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518AE5 #E5AC51
analogous
#51D4E5 #518AE5 #6251E5
triadic
#518AE5 #E5518A #8AE551
tetradic
#518AE5 #E551D4 #E5AC51 #51E562
square
#518AE5 #E551D4 #E5AC51 #51E562
split-complementary
#518AE5 #E56251 #D4E551
monochromatic
#184EA3 #2067D8 #518AE5 #86AEED #BBD2F5

Accessibility & contrast

On white

3.43
#518AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#518AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518AE5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518AE5#FFFFFF#000000##000000
##518AE51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6192E9
Deuteranopia (green-blind)
#4B84E3
Tritanopia (blue-blind)
#009FAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #518ae5;
/* rgb */ color: rgb(81, 138, 229);
/* oklch */ color: oklch(63.8% 0.150 259.4);
Tailwind
colors: {
  custom: {
    50: '#90abee',
    500: '#518ae5',
    950: '#000000',
  },
}
SCSS
$custom: #518ae5;
$custom-light: #90abee;
$custom-dark: #000000;
JSON
{
  "hex": "#518ae5",
  "rgb": {
    "r": 81,
    "g": 138,
    "b": 229
  },
  "hsl": {
    "h": 216.892,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.14985,
    "h": 259.4
  },
  "luminance": 0.25583
}

Semantic roles & 50–950 ramp

primary
#518AE5
secondary
#E5CFAD
accent
#8A0FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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