#5187FC#5187FC
#5187FC is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.6% C 0.184 H 263.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5187FC |
|---|---|
| RGB | rgb(81, 135, 252) |
| HSL | hsl(221, 97%, 65%) |
| HSV | hsv(221, 68%, 99%) |
| CMYK | cmyk(67.9%, 46.4%, 0%, 1.2%) |
| CIE-LAB | lab(58.13, 19.45, -63.66) |
| CIE-LCH | lch(58.13, 66.57, 286.99°) |
| OKLab | oklab(64.57% -0.0208 -0.1824) |
| OKLCH | oklch(64.57% 0.184 263.5) |
| XYZ | xyz(29.6218, 26.1026, 95.5538) |
| Luminance | 0.2611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.14
Soft Blue
#6488EA
ΔE00 2.73
Lightish Blue
#3D7AFD
ΔE00 4.18
Cornflowerblue
#6495ED
ΔE00 4.44
Azure
#007FFF
ΔE00 4.64
Clear Blue
#247AFD
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5187FC #FCC651
analogous
#51DCFC #5187FC #7151FC
triadic
#5187FC #FC5187 #87FC51
tetradic
#5187FC #FC51DC #FCC651 #51FC71
square
#5187FC #FC51DC #FCC651 #51FC71
split-complementary
#5187FC #FC7151 #DCFC51
monochromatic
#0444CF #155EFB #5187FC #8DB0FD #C9DAFE
Accessibility & contrast
On white
3.38
#5187FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#5187FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5187FC
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5187FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5187FC | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#2384FA
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5187fc; /* rgb */ color: rgb(81, 135, 252); /* oklch */ color: oklch(64.6% 0.184 263.5);
Tailwind
colors: {
custom: {
50: '#94a9fe',
500: '#5187fc',
950: '#000000',
},
}SCSS
$custom: #5187fc; $custom-light: #94a9fe; $custom-dark: #000000;
JSON
{
"hex": "#5187fc",
"rgb": {
"r": 81,
"g": 135,
"b": 252
},
"hsl": {
"h": 221.053,
"s": 96.61,
"l": 65.294
},
"oklch": {
"l": 0.6457,
"c": 0.18358,
"h": 263.5
},
"luminance": 0.26106
}Semantic roles & 50–950 ramp
primary
#5187FC
secondary
#F1DFB8
accent
#9D00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86