#5186FE#5186FE
#5186FE is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.187 H 264.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5186FE |
|---|---|
| RGB | rgb(81, 134, 254) |
| HSL | hsl(222, 99%, 66%) |
| HSV | hsv(222, 68%, 100%) |
| CMYK | cmyk(68.1%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(57.99, 20.75, -64.99) |
| CIE-LCH | lch(57.99, 68.22, 287.71°) |
| OKLab | oklab(64.5% -0.0197 -0.1863) |
| OKLCH | oklch(64.5% 0.187 264) |
| XYZ | xyz(29.8015, 25.9523, 97.1854) |
| Luminance | 0.2596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.13
Soft Blue
#6488EA
ΔE00 2.78
Lightish Blue
#3D7AFD
ΔE00 3.92
Clear Blue
#247AFD
ΔE00 4.65
Azure
#007FFF
ΔE00 4.71
Cornflowerblue
#6495ED
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186FE #FEC951
analogous
#51DDFE #5186FE #7251FE
triadic
#5186FE #FE5186 #86FE51
tetradic
#5186FE #FE51DD #FEC951 #51FE72
square
#5186FE #FE51DD #FEC951 #51FE72
split-complementary
#5186FE #FE7251 #DDFE51
monochromatic
#0142D3 #145CFE #5186FE #8EB0FE #CBDBFF
Accessibility & contrast
On white
3.39
#5186FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#5186FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186FE
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186FE | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#1984FC
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5186fe; /* rgb */ color: rgb(81, 134, 254); /* oklch */ color: oklch(64.5% 0.187 264.0);
Tailwind
colors: {
custom: {
50: '#94a8ff',
500: '#5186fe',
950: '#000000',
},
}SCSS
$custom: #5186fe; $custom-light: #94a8ff; $custom-dark: #000000;
JSON
{
"hex": "#5186fe",
"rgb": {
"r": 81,
"g": 134,
"b": 254
},
"hsl": {
"h": 221.618,
"s": 98.857,
"l": 65.686
},
"oklch": {
"l": 0.645,
"c": 0.18737,
"h": 264
},
"luminance": 0.25955
}Semantic roles & 50–950 ramp
primary
#5186FE
secondary
#F2E1B9
accent
#9F00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86