#5185E7#5185E7
#5185E7 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.158 H 261.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5185E7 |
|---|---|
| RGB | rgb(81, 133, 231) |
| HSL | hsl(219, 76%, 61%) |
| HSV | hsv(219, 65%, 91%) |
| CMYK | cmyk(64.9%, 42.4%, 0%, 9.4%) |
| CIE-LAB | lab(56.38, 13.43, -54.84) |
| CIE-LCH | lch(56.38, 56.46, 283.76°) |
| OKLab | oklab(62.83% -0.0224 -0.1565) |
| OKLCH | oklch(62.83% 0.158 261.8) |
| XYZ | xyz(26.1996, 24.2914, 78.8938) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.26
Soft Blue
#6488EA
ΔE00 2.93
Azure
#007FFF
ΔE00 4.02
Lightish Blue
#3D7AFD
ΔE00 4.08
Clear Blue
#247AFD
ΔE00 4.24
Dark Sky Blue
#448EE4
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5185E7 #E7B351
analogous
#51D0E7 #5185E7 #6851E7
triadic
#5185E7 #E75185 #85E751
tetradic
#5185E7 #E751D0 #E7B351 #51E768
square
#5185E7 #E751D0 #E7B351 #51E768
split-complementary
#5185E7 #E76851 #D0E751
monochromatic
#1749A7 #1E60DC #5185E7 #87ABEE #BDD0F6
Accessibility & contrast
On white
3.58
#5185E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#5185E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5185E7
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5185E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5185E7 | 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)
#578FEB
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5185e7; /* rgb */ color: rgb(81, 133, 231); /* oklch */ color: oklch(62.8% 0.158 261.8);
Tailwind
colors: {
custom: {
50: '#90a8ef',
500: '#5185e7',
950: '#000000',
},
}SCSS
$custom: #5185e7; $custom-light: #90a8ef; $custom-dark: #000000;
JSON
{
"hex": "#5185e7",
"rgb": {
"r": 81,
"g": 133,
"b": 231
},
"hsl": {
"h": 219.2,
"s": 75.758,
"l": 61.176
},
"oklch": {
"l": 0.62827,
"c": 0.15811,
"h": 261.8
},
"luminance": 0.24294
}Semantic roles & 50–950 ramp
primary
#5185E7
secondary
#E6D3AE
accent
#920ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84