#518DEC#518DEC

#518DEC is a light, vivid blue. Relative luminance 0.269; OKLCH L 64.8% C 0.156 H 259.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#518DEC
RGBrgb(81, 141, 236)
HSLhsl(217, 80%, 62%)
HSVhsv(217, 66%, 93%)
CMYKcmyk(65.7%, 40.3%, 0%, 7.5%)
CIE-LABlab(58.84, 10.33, -53.70)
CIE-LCHlch(58.84, 54.69, 280.89°)
OKLaboklab(64.82% -0.0291 -0.153)
OKLCHoklch(64.82% 0.156 259.2)
XYZxyz(28.0531, 26.8524, 83.0452)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518DEC #ECB051
analogous
#51DBEC #518DEC #6251EC
triadic
#518DEC #EC518D #8DEC51
tetradic
#518DEC #EC51DB #ECB051 #51EC62
square
#518DEC #EC51DB #ECB051 #51EC62
split-complementary
#518DEC #EC6251 #DBEC51
monochromatic
#1350AF #1A69E6 #518DEC #88B1F2 #BFD5F8

Accessibility & contrast

On white

3.30
#518DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#518DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518DEC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518DEC#FFFFFF#000000##000000
##518DEC1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295F0
Deuteranopia (green-blind)
#4A87EA
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #518dec;
/* rgb */ color: rgb(81, 141, 236);
/* oklch */ color: oklch(64.8% 0.156 259.2);
Tailwind
colors: {
  custom: {
    50: '#91adf2',
    500: '#518dec',
    950: '#000000',
  },
}
SCSS
$custom: #518dec;
$custom-light: #91adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#518dec",
  "rgb": {
    "r": 81,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 216.774,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64817,
    "c": 0.15578,
    "h": 259.2
  },
  "luminance": 0.26855
}

Semantic roles & 50–950 ramp

primary
#518DEC
secondary
#E9D3B0
accent
#8B09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #518DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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