#5180CA#5180CA
#5180CA is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.0% C 0.125 H 259.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5180CA |
|---|---|
| RGB | rgb(81, 128, 202) |
| HSL | hsl(217, 53%, 55%) |
| HSV | hsv(217, 60%, 79%) |
| CMYK | cmyk(59.9%, 36.6%, 0%, 20.8%) |
| CIE-LAB | lab(53.44, 6.61, -43.20) |
| CIE-LCH | lch(53.44, 43.70, 278.71°) |
| OKLab | oklab(60.04% -0.0235 -0.1224) |
| OKLCH | oklch(60.04% 0.125 259.1) |
| XYZ | xyz(21.7694, 21.4500, 58.8587) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.26
Cool Blue
#4984B8
ΔE00 4.33
Windows Blue
#3778BF
ΔE00 4.62
Faded Blue
#658CBB
ΔE00 4.72
Dusty Blue
#5A86AD
ΔE00 4.78
Steel Blue
#4682B4
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5180CA #CA9B51
analogous
#51BDCA #5180CA #5E51CA
triadic
#5180CA #CA5180 #80CA51
tetradic
#5180CA #CA51BD #CA9B51 #51CA5E
square
#5180CA #CA51BD #CA9B51 #51CA5E
split-complementary
#5180CA #CA5E51 #BDCA51
monochromatic
#25477B #3462AA #5180CA #80A2D8 #AFC4E7
Accessibility & contrast
On white
3.97
#5180CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#5180CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5180CA
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5180CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5180CA | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6186CD
Deuteranopia (green-blind)
#517AC8
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5180ca; /* rgb */ color: rgb(81, 128, 202); /* oklch */ color: oklch(60.0% 0.125 259.1);
Tailwind
colors: {
custom: {
50: '#8ca4da',
500: '#5180ca',
950: '#000000',
},
}SCSS
$custom: #5180ca; $custom-light: #8ca4da; $custom-dark: #000000;
JSON
{
"hex": "#5180ca",
"rgb": {
"r": 81,
"g": 128,
"b": 202
},
"hsl": {
"h": 216.694,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.60044,
"c": 0.12468,
"h": 259.1
},
"luminance": 0.21452
}Semantic roles & 50–950 ramp
primary
#5180CA
secondary
#D5C1A2
accent
#A44BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83