#5180F2#5180F2
#5180F2 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.5% C 0.179 H 264.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5180F2 |
|---|---|
| RGB | rgb(81, 128, 242) |
| HSL | hsl(222, 86%, 63%) |
| HSV | hsv(222, 67%, 95%) |
| CMYK | cmyk(66.5%, 47.1%, 0%, 5.1%) |
| CIE-LAB | lab(55.68, 20.26, -62.08) |
| CIE-LCH | lch(55.68, 65.30, 288.07°) |
| OKLab | oklab(62.5% -0.016 -0.1778) |
| OKLCH | oklch(62.5% 0.179 264.9) |
| XYZ | xyz(27.1339, 23.5958, 87.1117) |
| Luminance | 0.2360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.22
Lightish Blue
#3D7AFD
ΔE00 2.34
Soft Blue
#6488EA
ΔE00 3.07
Clear Blue
#247AFD
ΔE00 3.45
Azure
#007FFF
ΔE00 4.45
Deep Sky Blue
#0D75F8
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5180F2 #F2C351
analogous
#51D1F2 #5180F2 #7251F2
triadic
#5180F2 #F25180 #80F251
tetradic
#5180F2 #F251D1 #F2C351 #51F272
square
#5180F2 #F251D1 #F2C351 #51F272
split-complementary
#5180F2 #F27251 #D1F251
monochromatic
#0E40BB #1856EE #5180F2 #8AAAF6 #C3D3FB
Accessibility & contrast
On white
3.67
#5180F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#5180F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5180F2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5180F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5180F2 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#1F7EF0
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5180f2; /* rgb */ color: rgb(81, 128, 242); /* oklch */ color: oklch(62.5% 0.179 264.9);
Tailwind
colors: {
custom: {
50: '#92a4f7',
500: '#5180f2',
950: '#000000',
},
}SCSS
$custom: #5180f2; $custom-light: #92a4f7; $custom-dark: #000000;
JSON
{
"hex": "#5180f2",
"rgb": {
"r": 81,
"g": 128,
"b": 242
},
"hsl": {
"h": 222.484,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.62498,
"c": 0.17857,
"h": 264.9
},
"luminance": 0.23598
}Semantic roles & 50–950 ramp
primary
#5180F2
secondary
#ECDBB3
accent
#A103E3
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0E0F17
muted
#7E7F85