#518EFC#518EFC

#518EFC is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.0% C 0.176 H 261.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#518EFC
RGBrgb(81, 142, 252)
HSLhsl(219, 97%, 65%)
HSVhsv(219, 68%, 99%)
CMYKcmyk(67.9%, 43.7%, 0%, 1.2%)
CIE-LABlab(60.00, 15.23, -60.68)
CIE-LCHlch(60.00, 62.56, 284.09°)
OKLaboklab(66% -0.027 -0.1735)
OKLCHoklch(66% 0.176 261.2)
XYZxyz(30.6308, 28.1205, 95.8901)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518EFC #FCBF51
analogous
#51E4FC #518EFC #6951FC
triadic
#518EFC #FC518E #8EFC51
tetradic
#518EFC #FC51E4 #FCBF51 #51FC69
square
#518EFC #FC51E4 #FCBF51 #51FC69
split-complementary
#518EFC #FC6951 #E4FC51
monochromatic
#044CCF #1567FB #518EFC #8DB5FD #C9DCFE

Accessibility & contrast

On white

3.17
#518EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#518EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518EFC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518EFC#FFFFFF#000000##000000
##518EFC1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#3989FA
Tritanopia (blue-blind)
#00A8B9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #518efc;
/* rgb */ color: rgb(81, 142, 252);
/* oklch */ color: oklch(66.0% 0.176 261.2);
Tailwind
colors: {
  custom: {
    50: '#93aefe',
    500: '#518efc',
    950: '#000000',
  },
}
SCSS
$custom: #518efc;
$custom-light: #93aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#518efc",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 218.596,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66002,
    "c": 0.1756,
    "h": 261.2
  },
  "luminance": 0.28124
}

Semantic roles & 50–950 ramp

primary
#518EFC
secondary
#F1DDB8
accent
#9400E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1018
muted
#7E7F86

Preview Lab

Preview with #518EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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