#5180CE#5180CE
#5180CE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.3% C 0.130 H 260.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5180CE |
|---|---|
| RGB | rgb(81, 128, 206) |
| HSL | hsl(217, 56%, 56%) |
| HSV | hsv(217, 61%, 81%) |
| CMYK | cmyk(60.7%, 37.9%, 0%, 19.2%) |
| CIE-LAB | lab(53.65, 7.96, -45.14) |
| CIE-LCH | lch(53.65, 45.84, 280.00°) |
| OKLab | oklab(60.27% -0.0225 -0.1281) |
| OKLCH | oklch(60.27% 0.13 260) |
| XYZ | xyz(22.2492, 21.6419, 61.3854) |
| Luminance | 0.2164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.56
Dodger Blue
#3E82FC
ΔE00 4.63
Cool Blue
#4984B8
ΔE00 4.66
Faded Blue
#658CBB
ΔE00 4.80
Clear Blue
#247AFD
ΔE00 4.85
Windows Blue
#3778BF
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5180CE #CE9F51
analogous
#51BFCE #5180CE #6151CE
triadic
#5180CE #CE5180 #80CE51
tetradic
#5180CE #CE51BF #CE9F51 #51CE61
square
#5180CE #CE51BF #CE9F51 #51CE61
split-complementary
#5180CE #CE6151 #BFCE51
monochromatic
#244780 #3261B0 #5180CE #81A3DB #B1C6E9
Accessibility & contrast
On white
3.94
#5180CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#5180CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5180CE
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5180CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5180CE | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F87D1
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5180ce; /* rgb */ color: rgb(81, 128, 206); /* oklch */ color: oklch(60.3% 0.130 260.0);
Tailwind
colors: {
custom: {
50: '#8ca4dd',
500: '#5180ce',
950: '#000000',
},
}SCSS
$custom: #5180ce; $custom-light: #8ca4dd; $custom-dark: #000000;
JSON
{
"hex": "#5180ce",
"rgb": {
"r": 81,
"g": 128,
"b": 206
},
"hsl": {
"h": 217.44,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.60271,
"c": 0.1301,
"h": 260
},
"luminance": 0.21644
}Semantic roles & 50–950 ramp
primary
#5180CE
secondary
#D7C4A4
accent
#A748DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83