#5186FC#5186FC
#5186FC is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.185 H 263.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5186FC |
|---|---|
| RGB | rgb(81, 134, 252) |
| HSL | hsl(221, 97%, 65%) |
| HSV | hsv(221, 68%, 99%) |
| CMYK | cmyk(67.9%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(57.87, 20.06, -64.09) |
| CIE-LCH | lch(57.87, 67.15, 287.38°) |
| OKLab | oklab(64.37% -0.0199 -0.1837) |
| OKLCH | oklch(64.37% 0.185 263.8) |
| XYZ | xyz(29.4829, 25.8248, 95.5075) |
| Luminance | 0.2583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.02
Soft Blue
#6488EA
ΔE00 2.69
Lightish Blue
#3D7AFD
ΔE00 3.89
Clear Blue
#247AFD
ΔE00 4.57
Azure
#007FFF
ΔE00 4.60
Cornflowerblue
#6495ED
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186FC #FCC751
analogous
#51DBFC #5186FC #7251FC
triadic
#5186FC #FC5186 #86FC51
tetradic
#5186FC #FC51DB #FCC751 #51FC72
square
#5186FC #FC51DB #FCC751 #51FC72
split-complementary
#5186FC #FC7251 #DBFC51
monochromatic
#0443CF #155CFB #5186FC #8DB0FD #C9DAFE
Accessibility & contrast
On white
3.41
#5186FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#5186FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186FC
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186FC | 1.00 | 3.41 | 6.17 | 6.17 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#1F84FA
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5186fc; /* rgb */ color: rgb(81, 134, 252); /* oklch */ color: oklch(64.4% 0.185 263.8);
Tailwind
colors: {
custom: {
50: '#94a8fe',
500: '#5186fc',
950: '#000000',
},
}SCSS
$custom: #5186fc; $custom-light: #94a8fe; $custom-dark: #000000;
JSON
{
"hex": "#5186fc",
"rgb": {
"r": 81,
"g": 134,
"b": 252
},
"hsl": {
"h": 221.404,
"s": 96.61,
"l": 65.294
},
"oklch": {
"l": 0.64368,
"c": 0.18474,
"h": 263.8
},
"luminance": 0.25828
}Semantic roles & 50–950 ramp
primary
#5186FC
secondary
#F1DFB8
accent
#9E00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86