#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 |
|---|---|
| RGB | rgb(81, 139, 242) |
| HSL | hsl(218, 86%, 63%) |
| HSV | hsv(218, 67%, 95%) |
| CMYK | cmyk(66.5%, 42.6%, 0%, 5.1%) |
| CIE-LAB | lab(58.62, 13.58, -57.36) |
| CIE-LCH | lch(58.62, 58.95, 283.32°) |
| OKLab | oklab(64.76% -0.026 -0.1638) |
| OKLCH | oklch(64.76% 0.166 261) |
| XYZ | xyz(28.6473, 26.6225, 87.6161) |
| Luminance | 0.2662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.95
Cornflowerblue
#6495ED
ΔE00 3.25
Soft Blue
#6488EA
ΔE00 3.32
Dark Sky Blue
#448EE4
ΔE00 3.49
Dodgerblue
#1E90FF
ΔE00 4.62
Azure
#007FFF
ΔE00 4.72
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 |
|---|---|---|---|---|
| ##518BF2 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.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