#518CDF#518CDF

#518CDF is a light, vivid blue. Relative luminance 0.258; OKLCH L 63.8% C 0.140 H 257.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#518CDF
RGBrgb(81, 140, 223)
HSLhsl(215, 69%, 60%)
HSVhsv(215, 64%, 87%)
CMYKcmyk(63.7%, 37.2%, 0%, 12.5%)
CIE-LABlab(57.88, 6.50, -48.00)
CIE-LCHlch(57.88, 48.44, 277.71°)
OKLaboklab(63.85% -0.031 -0.1363)
OKLCHoklch(63.85% 0.14 257.2)
XYZxyz(26.0859, 25.8307, 73.4088)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518CDF #DFA451
analogous
#51D3DF #518CDF #5D51DF
triadic
#518CDF #DF518C #8CDF51
tetradic
#518CDF #DF51D3 #DFA451 #51DF5D
square
#518CDF #DF51D3 #DFA451 #51DF5D
split-complementary
#518CDF #DF5D51 #D3DF51
monochromatic
#1C5099 #266BCD #518CDF #85AEE9 #B8D0F2

Accessibility & contrast

On white

3.41
#518CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#518CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518CDF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518CDF#FFFFFF#000000##000000
##518CDF1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6892E2
Deuteranopia (green-blind)
#5485DD
Tritanopia (blue-blind)
#009FAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #518cdf;
/* rgb */ color: rgb(81, 140, 223);
/* oklch */ color: oklch(63.8% 0.140 257.2);
Tailwind
colors: {
  custom: {
    50: '#8fade9',
    500: '#518cdf',
    950: '#000000',
  },
}
SCSS
$custom: #518cdf;
$custom-light: #8fade9;
$custom-dark: #000000;
JSON
{
  "hex": "#518cdf",
  "rgb": {
    "r": 81,
    "g": 140,
    "b": 223
  },
  "hsl": {
    "h": 215.07,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.13983,
    "h": 257.2
  },
  "luminance": 0.25833
}

Semantic roles & 50–950 ramp

primary
#518CDF
secondary
#E1CBAA
accent
#A33CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #518CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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