#5186DF#5186DF
#5186DF is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.6% C 0.146 H 260.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5186DF |
|---|---|
| RGB | rgb(81, 134, 223) |
| HSL | hsl(218, 69%, 60%) |
| HSV | hsv(218, 64%, 87%) |
| CMYK | cmyk(63.7%, 39.9%, 0%, 12.5%) |
| CIE-LAB | lab(56.21, 10.09, -50.64) |
| CIE-LCH | lch(56.21, 51.64, 281.27°) |
| OKLab | oklab(62.56% -0.025 -0.1442) |
| OKLCH | oklch(62.56% 0.146 260.2) |
| XYZ | xyz(25.2330, 24.1249, 73.1245) |
| Luminance | 0.2413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.98
Soft Blue
#6488EA
ΔE00 3.56
Dark Sky Blue
#448EE4
ΔE00 3.83
Azure
#007FFF
ΔE00 4.16
Faded Blue
#658CBB
ΔE00 4.42
Clear Blue
#247AFD
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186DF #DFAA51
analogous
#51CDDF #5186DF #6351DF
triadic
#5186DF #DF5186 #86DF51
tetradic
#5186DF #DF51CD #DFAA51 #51DF63
square
#5186DF #DF51CD #DFAA51 #51DF63
split-complementary
#5186DF #DF6351 #CDDF51
monochromatic
#1C4B99 #2664CD #5186DF #85AAE9 #B8CEF2
Accessibility & contrast
On white
3.60
#5186DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#5186DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186DF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186DF | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#4981DD
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5186df; /* rgb */ color: rgb(81, 134, 223); /* oklch */ color: oklch(62.6% 0.146 260.2);
Tailwind
colors: {
custom: {
50: '#8fa8e9',
500: '#5186df',
950: '#000000',
},
}SCSS
$custom: #5186df; $custom-light: #8fa8e9; $custom-dark: #000000;
JSON
{
"hex": "#5186df",
"rgb": {
"r": 81,
"g": 134,
"b": 223
},
"hsl": {
"h": 217.606,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.62556,
"c": 0.14631,
"h": 260.2
},
"luminance": 0.24127
}Semantic roles & 50–950 ramp
primary
#5186DF
secondary
#E1CDAA
accent
#AA3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84