#5185E2#5185E2
#5185E2 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.5% C 0.151 H 261.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5185E2 |
|---|---|
| RGB | rgb(81, 133, 226) |
| HSL | hsl(218, 71%, 60%) |
| HSV | hsv(218, 64%, 89%) |
| CMYK | cmyk(64.2%, 41.2%, 0%, 11.4%) |
| CIE-LAB | lab(56.10, 11.72, -52.50) |
| CIE-LCH | lch(56.10, 53.79, 282.58°) |
| OKLab | oklab(62.52% -0.0234 -0.1496) |
| OKLCH | oklch(62.52% 0.151 261.1) |
| XYZ | xyz(25.5035, 24.0130, 75.2277) |
| Luminance | 0.2402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.65
Soft Blue
#6488EA
ΔE00 3.27
Azure
#007FFF
ΔE00 4.07
Dark Sky Blue
#448EE4
ΔE00 4.27
Lightish Blue
#3D7AFD
ΔE00 4.37
Clear Blue
#247AFD
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5185E2 #E2AE51
analogous
#51CDE2 #5185E2 #6551E2
triadic
#5185E2 #E25185 #85E251
tetradic
#5185E2 #E251CD #E2AE51 #51E265
square
#5185E2 #E251CD #E2AE51 #51E265
split-complementary
#5185E2 #E26551 #CDE251
monochromatic
#1A4A9E #2362D3 #5185E2 #85AAEB #BACFF3
Accessibility & contrast
On white
3.62
#5185E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#5185E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5185E2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5185E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5185E2 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#4580E0
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5185e2; /* rgb */ color: rgb(81, 133, 226); /* oklch */ color: oklch(62.5% 0.151 261.1);
Tailwind
colors: {
custom: {
50: '#8fa8eb',
500: '#5185e2',
950: '#000000',
},
}SCSS
$custom: #5185e2; $custom-light: #8fa8eb; $custom-dark: #000000;
JSON
{
"hex": "#5185e2",
"rgb": {
"r": 81,
"g": 133,
"b": 226
},
"hsl": {
"h": 218.483,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.62522,
"c": 0.15142,
"h": 261.1
},
"luminance": 0.24015
}Semantic roles & 50–950 ramp
primary
#5185E2
secondary
#E3CFAC
accent
#8E12D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84