#5180E4#5180E4
#5180E4 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.160 H 263.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5180E4 |
|---|---|
| RGB | rgb(81, 128, 228) |
| HSL | hsl(221, 73%, 61%) |
| HSV | hsv(221, 64%, 89%) |
| CMYK | cmyk(64.5%, 43.9%, 0%, 10.6%) |
| CIE-LAB | lab(54.85, 15.44, -55.61) |
| CIE-LCH | lch(54.85, 57.71, 285.51°) |
| OKLab | oklab(61.6% -0.0181 -0.1588) |
| OKLCH | oklch(61.6% 0.16 263.5) |
| XYZ | xyz(25.1112, 22.7867, 76.4587) |
| Luminance | 0.2279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.78
Lightish Blue
#3D7AFD
ΔE00 3.13
Soft Blue
#6488EA
ΔE00 3.46
Clear Blue
#247AFD
ΔE00 3.59
Azure
#007FFF
ΔE00 4.31
Deep Sky Blue
#0D75F8
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5180E4 #E4B551
analogous
#51CAE4 #5180E4 #6B51E4
triadic
#5180E4 #E45180 #80E451
tetradic
#5180E4 #E451CA #E4B551 #51E46B
square
#5180E4 #E451CA #E4B551 #51E46B
split-complementary
#5180E4 #E46B51 #CAE451
monochromatic
#1945A2 #215BD7 #5180E4 #86A7EC #BBCDF4
Accessibility & contrast
On white
3.78
#5180E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#5180E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5180E4
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5180E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5180E4 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508AE8
Deuteranopia (green-blind)
#387DE2
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5180e4; /* rgb */ color: rgb(81, 128, 228); /* oklch */ color: oklch(61.6% 0.160 263.5);
Tailwind
colors: {
custom: {
50: '#90a4ed',
500: '#5180e4',
950: '#000000',
},
}SCSS
$custom: #5180e4; $custom-light: #90a4ed; $custom-dark: #000000;
JSON
{
"hex": "#5180e4",
"rgb": {
"r": 81,
"g": 128,
"b": 228
},
"hsl": {
"h": 220.816,
"s": 73.134,
"l": 60.588
},
"oklch": {
"l": 0.61596,
"c": 0.15985,
"h": 263.5
},
"luminance": 0.22789
}Semantic roles & 50–950 ramp
primary
#5180E4
secondary
#E4D2AC
accent
#9610D5
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84