#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 |
|---|---|
| RGB | rgb(81, 138, 242) |
| HSL | hsl(219, 86%, 63%) |
| HSV | hsv(219, 67%, 95%) |
| CMYK | cmyk(66.5%, 43%, 0%, 5.1%) |
| CIE-LAB | lab(58.35, 14.19, -57.80) |
| CIE-LCH | lch(58.35, 59.51, 283.79°) |
| OKLab | oklab(64.55% -0.0251 -0.1651) |
| OKLCH | oklch(64.55% 0.167 261.3) |
| XYZ | xyz(28.5031, 26.3343, 87.5681) |
| Luminance | 0.2634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.68
Soft Blue
#6488EA
ΔE00 3.10
Cornflowerblue
#6495ED
ΔE00 3.50
Dark Sky Blue
#448EE4
ΔE00 3.72
Azure
#007FFF
ΔE00 4.56
Dodgerblue
#1E90FF
ΔE00 4.89
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 |
|---|---|---|---|---|
| ##518AF2 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.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