#518FEA#518FEA

#518FEA is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.1% C 0.151 H 258.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#518FEA
RGBrgb(81, 143, 234)
HSLhsl(216, 78%, 62%)
HSVhsv(216, 65%, 92%)
CMYKcmyk(65.4%, 38.9%, 0%, 8.2%)
CIE-LABlab(59.28, 8.45, -51.89)
CIE-LCHlch(59.28, 52.57, 279.25°)
OKLaboklab(65.13% -0.0314 -0.1477)
OKLCHoklch(65.13% 0.151 258)
XYZxyz(28.0617, 27.3320, 81.6227)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518FEA #EAAC51
analogous
#51DCEA #518FEA #6051EA
triadic
#518FEA #EA518F #8FEA51
tetradic
#518FEA #EA51DC #EAAC51 #51EA60
square
#518FEA #EA51DC #EAAC51 #51EA60
split-complementary
#518FEA #EA6051 #DCEA51
monochromatic
#1552AC #1B6CE2 #518FEA #88B2F1 #BED5F7

Accessibility & contrast

On white

3.25
#518FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#518FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518FEA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518FEA#FFFFFF#000000##000000
##518FEA1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#00A4B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #518fea;
/* rgb */ color: rgb(81, 143, 234);
/* oklch */ color: oklch(65.1% 0.151 258.0);
Tailwind
colors: {
  custom: {
    50: '#90aff1',
    500: '#518fea',
    950: '#000000',
  },
}
SCSS
$custom: #518fea;
$custom-light: #90aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#518fea",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 215.686,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65126,
    "c": 0.15101,
    "h": 258
  },
  "luminance": 0.27335
}

Semantic roles & 50–950 ramp

primary
#518FEA
secondary
#E8D1AF
accent
#860BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #518FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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