#5180E9#5180E9
#5180E9 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.167 H 264.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5180E9 |
|---|---|
| RGB | rgb(81, 128, 233) |
| HSL | hsl(221, 78%, 62%) |
| HSV | hsv(221, 65%, 91%) |
| CMYK | cmyk(65.2%, 45.1%, 0%, 8.6%) |
| CIE-LAB | lab(55.14, 17.15, -57.94) |
| CIE-LCH | lch(55.14, 60.42, 286.49°) |
| OKLab | oklab(61.91% -0.0173 -0.1657) |
| OKLCH | oklch(61.91% 0.167 264) |
| XYZ | xyz(25.8153, 23.0684, 80.1672) |
| Luminance | 0.2307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.48
Lightish Blue
#3D7AFD
ΔE00 2.77
Soft Blue
#6488EA
ΔE00 3.23
Clear Blue
#247AFD
ΔE00 3.46
Azure
#007FFF
ΔE00 4.30
Deep Sky Blue
#0D75F8
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5180E9 #E9BA51
analogous
#51CCE9 #5180E9 #6E51E9
triadic
#5180E9 #E95180 #80E951
tetradic
#5180E9 #E951CC #E9BA51 #51E96E
square
#5180E9 #E951CC #E9BA51 #51E96E
split-complementary
#5180E9 #E96E51 #CCE951
monochromatic
#1643AA #1C59E0 #5180E9 #87A8F0 #BECFF7
Accessibility & contrast
On white
3.74
#5180E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#5180E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5180E9
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5180E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5180E9 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8BED
Deuteranopia (green-blind)
#317DE7
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5180e9; /* rgb */ color: rgb(81, 128, 233); /* oklch */ color: oklch(61.9% 0.167 264.0);
Tailwind
colors: {
custom: {
50: '#90a4f1',
500: '#5180e9',
950: '#000000',
},
}SCSS
$custom: #5180e9; $custom-light: #90a4f1; $custom-dark: #000000;
JSON
{
"hex": "#5180e9",
"rgb": {
"r": 81,
"g": 128,
"b": 233
},
"hsl": {
"h": 221.447,
"s": 77.551,
"l": 61.569
},
"oklch": {
"l": 0.61913,
"c": 0.16656,
"h": 264
},
"luminance": 0.23071
}Semantic roles & 50–950 ramp
primary
#5180E9
secondary
#E7D6AF
accent
#9A0CDA
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85