#5184F2#5184F2
#5184F2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.3% C 0.174 H 263.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5184F2 |
|---|---|
| RGB | rgb(81, 132, 242) |
| HSL | hsl(221, 86%, 63%) |
| HSV | hsv(221, 67%, 95%) |
| CMYK | cmyk(66.5%, 45.5%, 0%, 5.1%) |
| CIE-LAB | lab(56.74, 17.82, -60.38) |
| CIE-LCH | lch(56.74, 62.95, 286.44°) |
| OKLab | oklab(63.31% -0.0196 -0.1728) |
| OKLCH | oklch(63.31% 0.174 263.5) |
| XYZ | xyz(27.6660, 24.6599, 87.2890) |
| Luminance | 0.2466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.71
Soft Blue
#6488EA
ΔE00 2.55
Lightish Blue
#3D7AFD
ΔE00 3.36
Clear Blue
#247AFD
ΔE00 3.96
Azure
#007FFF
ΔE00 4.17
Cornflowerblue
#6495ED
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5184F2 #F2BF51
analogous
#51D4F2 #5184F2 #6E51F2
triadic
#5184F2 #F25184 #84F251
tetradic
#5184F2 #F251D4 #F2BF51 #51F26E
square
#5184F2 #F251D4 #F2BF51 #51F26E
split-complementary
#5184F2 #F26E51 #D4F251
monochromatic
#0E45BB #185CEE #5184F2 #8AACF6 #C3D5FB
Accessibility & contrast
On white
3.54
#5184F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#5184F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5184F2
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5184F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5184F2 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#2D81F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5184f2; /* rgb */ color: rgb(81, 132, 242); /* oklch */ color: oklch(63.3% 0.174 263.5);
Tailwind
colors: {
custom: {
50: '#92a7f7',
500: '#5184f2',
950: '#000000',
},
}SCSS
$custom: #5184f2; $custom-light: #92a7f7; $custom-dark: #000000;
JSON
{
"hex": "#5184f2",
"rgb": {
"r": 81,
"g": 132,
"b": 242
},
"hsl": {
"h": 220.994,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.63312,
"c": 0.17388,
"h": 263.5
},
"luminance": 0.24663
}Semantic roles & 50–950 ramp
primary
#5184F2
secondary
#ECDAB3
accent
#9C03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85