#5186E2#5186E2
#5186E2 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.7% C 0.150 H 260.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5186E2 |
|---|---|
| RGB | rgb(81, 134, 226) |
| HSL | hsl(218, 71%, 60%) |
| HSV | hsv(218, 64%, 89%) |
| CMYK | cmyk(64.2%, 40.7%, 0%, 11.4%) |
| CIE-LAB | lab(56.38, 11.11, -52.06) |
| CIE-LCH | lch(56.38, 53.23, 282.05°) |
| OKLab | oklab(62.73% -0.0244 -0.1483) |
| OKLCH | oklch(62.73% 0.15 260.7) |
| XYZ | xyz(25.6410, 24.2881, 75.2735) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.73
Soft Blue
#6488EA
ΔE00 3.33
Dark Sky Blue
#448EE4
ΔE00 3.93
Azure
#007FFF
ΔE00 4.11
Faded Blue
#658CBB
ΔE00 4.59
Clear Blue
#247AFD
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186E2 #E2AD51
analogous
#51CFE2 #5186E2 #6451E2
triadic
#5186E2 #E25186 #86E251
tetradic
#5186E2 #E251CF #E2AD51 #51E264
square
#5186E2 #E251CF #E2AD51 #51E264
split-complementary
#5186E2 #E26451 #CFE251
monochromatic
#1A4B9E #2363D3 #5186E2 #85AAEB #BACFF3
Accessibility & contrast
On white
3.58
#5186E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#5186E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186E2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186E2 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#4681E0
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5186e2; /* rgb */ color: rgb(81, 134, 226); /* oklch */ color: oklch(62.7% 0.150 260.7);
Tailwind
colors: {
custom: {
50: '#8fa8eb',
500: '#5186e2',
950: '#000000',
},
}SCSS
$custom: #5186e2; $custom-light: #8fa8eb; $custom-dark: #000000;
JSON
{
"hex": "#5186e2",
"rgb": {
"r": 81,
"g": 134,
"b": 226
},
"hsl": {
"h": 218.069,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.62734,
"c": 0.15031,
"h": 260.7
},
"luminance": 0.24291
}Semantic roles & 50–950 ramp
primary
#5186E2
secondary
#E3CFAC
accent
#8D12D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84