#518FE6#518FE6

#518FE6 is a light, vivid blue. Relative luminance 0.271; OKLCH L 64.9% C 0.146 H 257.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#518FE6
RGBrgb(81, 143, 230)
HSLhsl(215, 75%, 61%)
HSVhsv(215, 65%, 90%)
CMYKcmyk(64.8%, 37.8%, 0%, 9.8%)
CIE-LABlab(59.07, 7.09, -50.00)
CIE-LCHlch(59.07, 50.50, 278.07°)
OKLaboklab(64.9% -0.0323 -0.1422)
OKLCHoklch(64.9% 0.146 257.2)
XYZxyz(27.4936, 27.1047, 78.6304)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518FE6 #E6A851
analogous
#51D9E6 #518FE6 #5D51E6
triadic
#518FE6 #E6518F #8FE651
tetradic
#518FE6 #E651D9 #E6A851 #51E65D
square
#518FE6 #E651D9 #E6A851 #51E65D
split-complementary
#518FE6 #E65D51 #D9E651
monochromatic
#1852A5 #1F6DDA #518FE6 #87B1EE #BCD4F5

Accessibility & contrast

On white

3.27
#518FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#518FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518FE6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518FE6#FFFFFF#000000##000000
##518FE61.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6896EA
Deuteranopia (green-blind)
#5388E4
Tritanopia (blue-blind)
#00A3AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #518fe6;
/* rgb */ color: rgb(81, 143, 230);
/* oklch */ color: oklch(64.9% 0.146 257.2);
Tailwind
colors: {
  custom: {
    50: '#90afee',
    500: '#518fe6',
    950: '#000000',
  },
}
SCSS
$custom: #518fe6;
$custom-light: #90afee;
$custom-dark: #000000;
JSON
{
  "hex": "#518fe6",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 230
  },
  "hsl": {
    "h": 215.034,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64896,
    "c": 0.1458,
    "h": 257.2
  },
  "luminance": 0.27107
}

Semantic roles & 50–950 ramp

primary
#518FE6
secondary
#E5CEAD
accent
#840ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #518FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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