#518AEF#518AEF

#518AEF is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.4% C 0.163 H 260.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#518AEF
RGBrgb(81, 138, 239)
HSLhsl(218, 83%, 63%)
HSVhsv(218, 66%, 94%)
CMYKcmyk(66.1%, 42.3%, 0%, 6.3%)
CIE-LABlab(58.18, 13.16, -56.41)
CIE-LCHlch(58.18, 57.92, 283.13°)
OKLaboklab(64.37% -0.0257 -0.161)
OKLCHoklch(64.37% 0.163 260.9)
XYZxyz(28.0563, 26.1555, 85.2146)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518AEF #EFB651
analogous
#51D9EF #518AEF #6751EF
triadic
#518AEF #EF518A #8AEF51
tetradic
#518AEF #EF51D9 #EFB651 #51EF67
square
#518AEF #EF51D9 #EFB651 #51EF67
split-complementary
#518AEF #EF6751 #D9EF51
monochromatic
#114CB5 #1964EA #518AEF #89B0F4 #C1D5F9

Accessibility & contrast

On white

3.37
#518AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#518AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518AEF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518AEF#FFFFFF#000000##000000
##518AEF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#4185ED
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #518aef;
/* rgb */ color: rgb(81, 138, 239);
/* oklch */ color: oklch(64.4% 0.163 260.9);
Tailwind
colors: {
  custom: {
    50: '#91abf5',
    500: '#518aef',
    950: '#000000',
  },
}
SCSS
$custom: #518aef;
$custom-light: #91abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#518aef",
  "rgb": {
    "r": 81,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 218.354,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64366,
    "c": 0.16305,
    "h": 260.9
  },
  "luminance": 0.26158
}

Semantic roles & 50–950 ramp

primary
#518AEF
secondary
#EAD6B1
accent
#9106E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #518AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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