#518AE4#518AE4
#518AE4 is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.7% C 0.149 H 259.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #518AE4 |
|---|---|
| RGB | rgb(81, 138, 228) |
| HSL | hsl(217, 73%, 61%) |
| HSV | hsv(217, 64%, 89%) |
| CMYK | cmyk(64.5%, 39.5%, 0%, 10.6%) |
| CIE-LAB | lab(57.58, 9.39, -51.25) |
| CIE-LCH | lch(57.58, 52.11, 280.38°) |
| OKLab | oklab(63.71% -0.0279 -0.1459) |
| OKLCH | oklch(63.71% 0.149 259.2) |
| XYZ | xyz(26.4804, 25.5252, 76.9151) |
| Luminance | 0.2553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.73
Dodger Blue
#3E82FC
ΔE00 3.31
Soft Blue
#6488EA
ΔE00 3.76
Cornflowerblue
#6495ED
ΔE00 3.91
Azure
#007FFF
ΔE00 4.51
Faded Blue
#658CBB
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#518AE4 #E4AB51
analogous
#51D3E4 #518AE4 #6251E4
triadic
#518AE4 #E4518A #8AE451
tetradic
#518AE4 #E451D3 #E4AB51 #51E462
square
#518AE4 #E451D3 #E4AB51 #51E462
split-complementary
#518AE4 #E46251 #D3E451
monochromatic
#194EA2 #2168D7 #518AE4 #86AEEC #BBD1F4
Accessibility & contrast
On white
3.44
#518AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#518AE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #518AE4
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##518AE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##518AE4 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6292E8
Deuteranopia (green-blind)
#4C84E2
Tritanopia (blue-blind)
#009FAC
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #518ae4; /* rgb */ color: rgb(81, 138, 228); /* oklch */ color: oklch(63.7% 0.149 259.2);
Tailwind
colors: {
custom: {
50: '#8fabed',
500: '#518ae4',
950: '#000000',
},
}SCSS
$custom: #518ae4; $custom-light: #8fabed; $custom-dark: #000000;
JSON
{
"hex": "#518ae4",
"rgb": {
"r": 81,
"g": 138,
"b": 228
},
"hsl": {
"h": 216.735,
"s": 73.134,
"l": 60.588
},
"oklch": {
"l": 0.63706,
"c": 0.14854,
"h": 259.2
},
"luminance": 0.25528
}Semantic roles & 50–950 ramp
primary
#518AE4
secondary
#E4CFAC
accent
#8910D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84