#5186F2#5186F2
#5186F2 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.7% C 0.172 H 262.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5186F2 |
|---|---|
| RGB | rgb(81, 134, 242) |
| HSL | hsl(220, 86%, 63%) |
| HSV | hsv(220, 67%, 95%) |
| CMYK | cmyk(66.5%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(57.28, 16.60, -59.52) |
| CIE-LCH | lch(57.28, 61.79, 285.59°) |
| OKLab | oklab(63.72% -0.0214 -0.1702) |
| OKLCH | oklch(63.72% 0.172 262.8) |
| XYZ | xyz(27.9398, 25.2076, 87.3803) |
| Luminance | 0.2521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.84
Soft Blue
#6488EA
ΔE00 2.56
Lightish Blue
#3D7AFD
ΔE00 3.95
Azure
#007FFF
ΔE00 4.19
Clear Blue
#247AFD
ΔE00 4.36
Cornflowerblue
#6495ED
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186F2 #F2BD51
analogous
#51D7F2 #5186F2 #6C51F2
triadic
#5186F2 #F25186 #86F251
tetradic
#5186F2 #F251D7 #F2BD51 #51F26C
square
#5186F2 #F251D7 #F2BD51 #51F26C
split-complementary
#5186F2 #F26C51 #D7F251
monochromatic
#0E47BB #185EEE #5186F2 #8AAEF6 #C3D5FB
Accessibility & contrast
On white
3.48
#5186F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#5186F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186F2
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186F2 | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5191F6
Deuteranopia (green-blind)
#3383F0
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5186f2; /* rgb */ color: rgb(81, 134, 242); /* oklch */ color: oklch(63.7% 0.172 262.8);
Tailwind
colors: {
custom: {
50: '#92a8f7',
500: '#5186f2',
950: '#000000',
},
}SCSS
$custom: #5186f2; $custom-light: #92a8f7; $custom-dark: #000000;
JSON
{
"hex": "#5186f2",
"rgb": {
"r": 81,
"g": 134,
"b": 242
},
"hsl": {
"h": 220.248,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.63722,
"c": 0.17157,
"h": 262.8
},
"luminance": 0.2521
}Semantic roles & 50–950 ramp
primary
#5186F2
secondary
#ECD9B3
accent
#9903E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85