#5184DC#5184DC
#5184DC is a mid, vivid blue. Relative luminance 0.234; OKLCH L 62.0% C 0.145 H 260.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5184DC |
|---|---|
| RGB | rgb(81, 132, 220) |
| HSL | hsl(218, 67%, 59%) |
| HSV | hsv(218, 63%, 86%) |
| CMYK | cmyk(63.2%, 40%, 0%, 13.7%) |
| CIE-LAB | lab(55.50, 10.28, -50.09) |
| CIE-LCH | lch(55.50, 51.14, 281.59°) |
| OKLab | oklab(61.95% -0.0236 -0.1426) |
| OKLCH | oklch(61.95% 0.145 260.6) |
| XYZ | xyz(24.5583, 23.4169, 70.9220) |
| Luminance | 0.2342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.13
Soft Blue
#6488EA
ΔE00 3.72
Azure
#007FFF
ΔE00 4.20
Clear Blue
#247AFD
ΔE00 4.44
Dark Sky Blue
#448EE4
ΔE00 4.46
Faded Blue
#658CBB
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5184DC #DCA951
analogous
#51C9DC #5184DC #6451DC
triadic
#5184DC #DC5184 #84DC51
tetradic
#5184DC #DC51C9 #DCA951 #51DC64
square
#5184DC #DC51C9 #DCA951 #51DC64
split-complementary
#5184DC #DC6451 #C9DC51
monochromatic
#1E4995 #2863C8 #5184DC #84A8E6 #B7CCF0
Accessibility & contrast
On white
3.69
#5184DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#5184DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5184DC
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5184DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5184DC | 1.00 | 3.69 | 5.68 | 5.68 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D8CDF
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#0098A5
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5184dc; /* rgb */ color: rgb(81, 132, 220); /* oklch */ color: oklch(62.0% 0.145 260.6);
Tailwind
colors: {
custom: {
50: '#8ea7e7',
500: '#5184dc',
950: '#000000',
},
}SCSS
$custom: #5184dc; $custom-light: #8ea7e7; $custom-dark: #000000;
JSON
{
"hex": "#5184dc",
"rgb": {
"r": 81,
"g": 132,
"b": 220
},
"hsl": {
"h": 217.986,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.61951,
"c": 0.14452,
"h": 260.6
},
"luminance": 0.23419
}Semantic roles & 50–950 ramp
primary
#5184DC
secondary
#E0CCA9
accent
#AB3EE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84