#5180E8#5180E8
#5180E8 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.8% C 0.165 H 263.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5180E8 |
|---|---|
| RGB | rgb(81, 128, 232) |
| HSL | hsl(221, 77%, 61%) |
| HSV | hsv(221, 65%, 91%) |
| CMYK | cmyk(65.1%, 44.8%, 0%, 9%) |
| CIE-LAB | lab(55.08, 16.81, -57.47) |
| CIE-LCH | lch(55.08, 59.88, 286.30°) |
| OKLab | oklab(61.85% -0.0175 -0.1643) |
| OKLCH | oklch(61.85% 0.165 263.9) |
| XYZ | xyz(25.6729, 23.0114, 79.4170) |
| Luminance | 0.2301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.53
Lightish Blue
#3D7AFD
ΔE00 2.84
Soft Blue
#6488EA
ΔE00 3.27
Clear Blue
#247AFD
ΔE00 3.48
Azure
#007FFF
ΔE00 4.29
Deep Sky Blue
#0D75F8
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5180E8 #E8B951
analogous
#51CBE8 #5180E8 #6E51E8
triadic
#5180E8 #E85180 #80E851
tetradic
#5180E8 #E851CB #E8B951 #51E86E
square
#5180E8 #E851CB #E8B951 #51E86E
split-complementary
#5180E8 #E86E51 #CBE851
monochromatic
#1644A8 #1D59DE #5180E8 #87A7EF #BDCFF6
Accessibility & contrast
On white
3.75
#5180E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#5180E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5180E8
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5180E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5180E8 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8BEC
Deuteranopia (green-blind)
#327DE6
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5180e8; /* rgb */ color: rgb(81, 128, 232); /* oklch */ color: oklch(61.8% 0.165 263.9);
Tailwind
colors: {
custom: {
50: '#90a4f0',
500: '#5180e8',
950: '#000000',
},
}SCSS
$custom: #5180e8; $custom-light: #90a4f0; $custom-dark: #000000;
JSON
{
"hex": "#5180e8",
"rgb": {
"r": 81,
"g": 128,
"b": 232
},
"hsl": {
"h": 221.325,
"s": 76.65,
"l": 61.373
},
"oklch": {
"l": 0.61849,
"c": 0.16523,
"h": 263.9
},
"luminance": 0.23014
}Semantic roles & 50–950 ramp
primary
#5180E8
secondary
#E7D5AE
accent
#990DD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85