#518AF2#518AF2

#518AF2 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.5% C 0.167 H 261.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#518AF2
RGBrgb(81, 138, 242)
HSLhsl(219, 86%, 63%)
HSVhsv(219, 67%, 95%)
CMYKcmyk(66.5%, 43%, 0%, 5.1%)
CIE-LABlab(58.35, 14.19, -57.80)
CIE-LCHlch(58.35, 59.51, 283.79°)
OKLaboklab(64.55% -0.0251 -0.1651)
OKLCHoklch(64.55% 0.167 261.3)
XYZxyz(28.5031, 26.3343, 87.5681)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518AF2 #F2B951
analogous
#51DAF2 #518AF2 #6851F2
triadic
#518AF2 #F2518A #8AF251
tetradic
#518AF2 #F251DA #F2B951 #51F268
square
#518AF2 #F251DA #F2B951 #51F268
split-complementary
#518AF2 #F26851 #DAF251
monochromatic
#0E4BBB #1864EE #518AF2 #8AB0F6 #C3D7FB

Accessibility & contrast

On white

3.35
#518AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#518AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518AF2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518AF2#FFFFFF#000000##000000
##518AF21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#3D85F0
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #518af2;
/* rgb */ color: rgb(81, 138, 242);
/* oklch */ color: oklch(64.5% 0.167 261.3);
Tailwind
colors: {
  custom: {
    50: '#92abf7',
    500: '#518af2',
    950: '#000000',
  },
}
SCSS
$custom: #518af2;
$custom-light: #92abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#518af2",
  "rgb": {
    "r": 81,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 218.758,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6455,
    "c": 0.16701,
    "h": 261.3
  },
  "luminance": 0.26337
}

Semantic roles & 50–950 ramp

primary
#518AF2
secondary
#ECD8B3
accent
#9303E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #518AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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