#5186FD#5186FD
#5186FD is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.186 H 263.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5186FD |
|---|---|
| RGB | rgb(81, 134, 253) |
| HSL | hsl(222, 98%, 65%) |
| HSV | hsv(222, 68%, 99%) |
| CMYK | cmyk(68%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(57.93, 20.40, -64.54) |
| CIE-LCH | lch(57.93, 67.69, 287.54°) |
| OKLab | oklab(64.43% -0.0198 -0.185) |
| OKLCH | oklch(64.43% 0.186 263.9) |
| XYZ | xyz(29.6418, 25.8884, 96.3443) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.07
Soft Blue
#6488EA
ΔE00 2.73
Lightish Blue
#3D7AFD
ΔE00 3.90
Clear Blue
#247AFD
ΔE00 4.61
Azure
#007FFF
ΔE00 4.65
Cornflowerblue
#6495ED
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186FD #FDC851
analogous
#51DCFD #5186FD #7251FD
triadic
#5186FD #FD5186 #86FD51
tetradic
#5186FD #FD51DC #FDC851 #51FD72
square
#5186FD #FD51DC #FDC851 #51FD72
split-complementary
#5186FD #FD7251 #DCFD51
monochromatic
#0242D1 #145CFC #5186FD #8EB0FE #CADAFE
Accessibility & contrast
On white
3.40
#5186FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#5186FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186FD
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186FD | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#1C84FB
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5186fd; /* rgb */ color: rgb(81, 134, 253); /* oklch */ color: oklch(64.4% 0.186 263.9);
Tailwind
colors: {
custom: {
50: '#94a8ff',
500: '#5186fd',
950: '#000000',
},
}SCSS
$custom: #5186fd; $custom-light: #94a8ff; $custom-dark: #000000;
JSON
{
"hex": "#5186fd",
"rgb": {
"r": 81,
"g": 134,
"b": 253
},
"hsl": {
"h": 221.512,
"s": 97.727,
"l": 65.49
},
"oklch": {
"l": 0.64434,
"c": 0.18606,
"h": 263.9
},
"luminance": 0.25891
}Semantic roles & 50–950 ramp
primary
#5186FD
secondary
#F2E0B8
accent
#9F00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86