#5180FF#5180FF
#5180FF is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.4% C 0.196 H 265.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5180FF |
|---|---|
| RGB | rgb(81, 128, 255) |
| HSL | hsl(224, 100%, 66%) |
| HSV | hsv(224, 68%, 100%) |
| CMYK | cmyk(68.2%, 49.8%, 0%, 0%) |
| CIE-LAB | lab(56.49, 24.75, -67.96) |
| CIE-LCH | lch(56.49, 72.33, 290.01°) |
| OKLab | oklab(63.38% -0.0144 -0.1951) |
| OKLCH | oklch(63.38% 0.196 265.8) |
| XYZ | xyz(29.1562, 24.4047, 97.7624) |
| Luminance | 0.2441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.52
Dodger Blue
#3E82FC
ΔE00 2.64
Soft Blue
#6488EA
ΔE00 3.44
Clear Blue
#247AFD
ΔE00 3.95
Cornflower
#6A79F7
ΔE00 4.73
Azure
#007FFF
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5180FF #FFD051
analogous
#51D7FF #5180FF #7951FF
triadic
#5180FF #FF5180 #80FF51
tetradic
#5180FF #FF51D7 #FFD051 #51FF79
square
#5180FF #FF51D7 #FFD051 #51FF79
split-complementary
#5180FF #FF7951 #D7FF51
monochromatic
#003AD6 #1453FF #5180FF #8EADFF #CBD9FF
Accessibility & contrast
On white
3.57
#5180FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#5180FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5180FF
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5180FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5180FF | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3490FF
Deuteranopia (green-blind)
#0080FC
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5180ff; /* rgb */ color: rgb(81, 128, 255); /* oklch */ color: oklch(63.4% 0.196 265.8);
Tailwind
colors: {
custom: {
50: '#94a4ff',
500: '#5180ff',
950: '#000000',
},
}SCSS
$custom: #5180ff; $custom-light: #94a4ff; $custom-dark: #000000;
JSON
{
"hex": "#5180ff",
"rgb": {
"r": 81,
"g": 128,
"b": 255
},
"hsl": {
"h": 223.793,
"s": 100,
"l": 65.882
},
"oklch": {
"l": 0.63375,
"c": 0.19568,
"h": 265.8
},
"luminance": 0.24408
}Semantic roles & 50–950 ramp
primary
#5180FF
secondary
#F3E3B9
accent
#A800E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F18
muted
#7F7F86