#518FEF#518FEF

#518FEF is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.4% C 0.158 H 258.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#518FEF
RGBrgb(81, 143, 239)
HSLhsl(216, 83%, 63%)
HSVhsv(216, 66%, 94%)
CMYKcmyk(66.1%, 40.2%, 0%, 6.3%)
CIE-LABlab(59.55, 10.16, -54.23)
CIE-LCHlch(59.55, 55.18, 280.61°)
OKLaboklab(65.42% -0.0304 -0.1546)
OKLCHoklch(65.42% 0.158 258.9)
XYZxyz(28.7902, 27.6234, 85.4592)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518FEF #EFB151
analogous
#51DEEF #518FEF #6251EF
triadic
#518FEF #EF518F #8FEF51
tetradic
#518FEF #EF51DE #EFB151 #51EF62
square
#518FEF #EF51DE #EFB151 #51EF62
split-complementary
#518FEF #EF6251 #DEEF51
monochromatic
#1151B5 #196BEA #518FEF #89B3F4 #C1D7F9

Accessibility & contrast

On white

3.22
#518FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#518FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518FEF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518FEF#FFFFFF#000000##000000
##518FEF1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#4B89ED
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #518fef;
/* rgb */ color: rgb(81, 143, 239);
/* oklch */ color: oklch(65.4% 0.158 258.9);
Tailwind
colors: {
  custom: {
    50: '#91aff5',
    500: '#518fef',
    950: '#000000',
  },
}
SCSS
$custom: #518fef;
$custom-light: #91aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#518fef",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 216.456,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6542,
    "c": 0.15753,
    "h": 258.9
  },
  "luminance": 0.27626
}

Semantic roles & 50–950 ramp

primary
#518FEF
secondary
#EAD4B1
accent
#8A06E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #518FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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