#518CF1#518CF1

#518CF1 is a light, vivid blue. Relative luminance 0.269; OKLCH L 64.9% C 0.163 H 260.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#518CF1
RGBrgb(81, 140, 241)
HSLhsl(218, 85%, 63%)
HSVhsv(218, 66%, 95%)
CMYKcmyk(66.4%, 41.9%, 0%, 5.5%)
CIE-LABlab(58.84, 12.64, -56.47)
CIE-LCHlch(58.84, 57.87, 282.62°)
OKLaboklab(64.91% -0.0272 -0.1612)
OKLCHoklch(64.91% 0.163 260.4)
XYZxyz(28.6429, 26.8535, 86.8758)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518CF1 #F1B651
analogous
#51DCF1 #518CF1 #6651F1
triadic
#518CF1 #F1518C #8CF151
tetradic
#518CF1 #F151DC #F1B651 #51F166
square
#518CF1 #F151DC #F1B651 #51F166
split-complementary
#518CF1 #F16651 #DCF151
monochromatic
#0F4EB9 #1867EC #518CF1 #8AB1F6 #C2D7FA

Accessibility & contrast

On white

3.30
#518CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#518CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518CF1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518CF1#FFFFFF#000000##000000
##518CF11.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F5
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #518cf1;
/* rgb */ color: rgb(81, 140, 241);
/* oklch */ color: oklch(64.9% 0.163 260.4);
Tailwind
colors: {
  custom: {
    50: '#92adf6',
    500: '#518cf1',
    950: '#000000',
  },
}
SCSS
$custom: #518cf1;
$custom-light: #92adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#518cf1",
  "rgb": {
    "r": 81,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 217.875,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64907,
    "c": 0.16344,
    "h": 260.4
  },
  "luminance": 0.26856
}

Semantic roles & 50–950 ramp

primary
#518CF1
secondary
#ECD6B2
accent
#9004E2
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #518CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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