#518BF2#518BF2

#518BF2 is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.8% C 0.166 H 261.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#518BF2
RGBrgb(81, 139, 242)
HSLhsl(218, 86%, 63%)
HSVhsv(218, 67%, 95%)
CMYKcmyk(66.5%, 42.6%, 0%, 5.1%)
CIE-LABlab(58.62, 13.58, -57.36)
CIE-LCHlch(58.62, 58.95, 283.32°)
OKLaboklab(64.76% -0.026 -0.1638)
OKLCHoklch(64.76% 0.166 261)
XYZxyz(28.6473, 26.6225, 87.6161)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518BF2 #F2B851
analogous
#51DBF2 #518BF2 #6751F2
triadic
#518BF2 #F2518B #8BF251
tetradic
#518BF2 #F251DB #F2B851 #51F267
square
#518BF2 #F251DB #F2B851 #51F267
split-complementary
#518BF2 #F26751 #DBF251
monochromatic
#0E4CBB #1865EE #518BF2 #8AB1F6 #C3D7FB

Accessibility & contrast

On white

3.32
#518BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#518BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518BF2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518BF2#FFFFFF#000000##000000
##518BF21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#3F86F0
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #518bf2;
/* rgb */ color: rgb(81, 139, 242);
/* oklch */ color: oklch(64.8% 0.166 261.0);
Tailwind
colors: {
  custom: {
    50: '#92acf7',
    500: '#518bf2',
    950: '#000000',
  },
}
SCSS
$custom: #518bf2;
$custom-light: #92acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#518bf2",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 218.385,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64759,
    "c": 0.16588,
    "h": 261
  },
  "luminance": 0.26625
}

Semantic roles & 50–950 ramp

primary
#518BF2
secondary
#ECD7B3
accent
#9203E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #518BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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