#518FE8#518FE8

#518FE8 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.0% C 0.148 H 257.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#518FE8
RGBrgb(81, 143, 232)
HSLhsl(215, 77%, 61%)
HSVhsv(215, 65%, 91%)
CMYKcmyk(65.1%, 38.4%, 0%, 9%)
CIE-LABlab(59.18, 7.77, -50.95)
CIE-LCHlch(59.18, 51.54, 278.67°)
OKLaboklab(65.01% -0.0319 -0.1449)
OKLCHoklch(65.01% 0.148 257.6)
XYZxyz(27.7761, 27.2177, 80.1180)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518FE8 #E8AA51
analogous
#51DBE8 #518FE8 #5F51E8
triadic
#518FE8 #E8518F #8FE851
tetradic
#518FE8 #E851DB #E8AA51 #51E85F
square
#518FE8 #E851DB #E8AA51 #51E85F
split-complementary
#518FE8 #E85F51 #DBE851
monochromatic
#1652A8 #1D6DDE #518FE8 #87B2EF #BDD5F6

Accessibility & contrast

On white

3.26
#518FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#518FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518FE8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518FE8#FFFFFF#000000##000000
##518FE81.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#5188E6
Tritanopia (blue-blind)
#00A3B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #518fe8;
/* rgb */ color: rgb(81, 143, 232);
/* oklch */ color: oklch(65.0% 0.148 257.6);
Tailwind
colors: {
  custom: {
    50: '#90aff0',
    500: '#518fe8',
    950: '#000000',
  },
}
SCSS
$custom: #518fe8;
$custom-light: #90aff0;
$custom-dark: #000000;
JSON
{
  "hex": "#518fe8",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 232
  },
  "hsl": {
    "h": 215.364,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6501,
    "c": 0.14841,
    "h": 257.6
  },
  "luminance": 0.2722
}

Semantic roles & 50–950 ramp

primary
#518FE8
secondary
#E7CFAE
accent
#850DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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