#518BE7#518BE7

#518BE7 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.1% C 0.151 H 259.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#518BE7
RGBrgb(81, 139, 231)
HSLhsl(217, 76%, 61%)
HSVhsv(217, 65%, 91%)
CMYKcmyk(64.9%, 39.8%, 0%, 9.4%)
CIE-LABlab(58.02, 9.82, -52.23)
CIE-LCHlch(58.02, 53.14, 280.64°)
OKLaboklab(64.1% -0.0282 -0.1487)
OKLCHoklch(64.1% 0.151 259.3)
XYZxyz(27.0446, 25.9815, 79.1755)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518BE7 #E7AD51
analogous
#51D6E7 #518BE7 #6251E7
triadic
#518BE7 #E7518B #8BE751
tetradic
#518BE7 #E751D6 #E7AD51 #51E762
square
#518BE7 #E751D6 #E7AD51 #51E762
split-complementary
#518BE7 #E76251 #D6E751
monochromatic
#174FA7 #1E68DC #518BE7 #87AFEE #BDD3F6

Accessibility & contrast

On white

3.39
#518BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#518BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518BE7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518BE7#FFFFFF#000000##000000
##518BE71.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EB
Deuteranopia (green-blind)
#4B85E5
Tritanopia (blue-blind)
#00A0AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #518be7;
/* rgb */ color: rgb(81, 139, 231);
/* oklch */ color: oklch(64.1% 0.151 259.3);
Tailwind
colors: {
  custom: {
    50: '#90acef',
    500: '#518be7',
    950: '#000000',
  },
}
SCSS
$custom: #518be7;
$custom-light: #90acef;
$custom-dark: #000000;
JSON
{
  "hex": "#518be7",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 216.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64096,
    "c": 0.1514,
    "h": 259.3
  },
  "luminance": 0.25984
}

Semantic roles & 50–950 ramp

primary
#518BE7
secondary
#E6D0AE
accent
#8A0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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