#5185EA#5185EA
#5185EA is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.0% C 0.162 H 262.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5185EA |
|---|---|
| RGB | rgb(81, 133, 234) |
| HSL | hsl(220, 78%, 62%) |
| HSV | hsv(220, 65%, 92%) |
| CMYK | cmyk(65.4%, 43.2%, 0%, 8.2%) |
| CIE-LAB | lab(56.55, 14.46, -56.24) |
| CIE-LCH | lch(56.55, 58.07, 284.42°) |
| OKLab | oklab(63.01% -0.0219 -0.1606) |
| OKLCH | oklch(63.01% 0.162 262.2) |
| XYZ | xyz(26.6269, 24.4623, 81.1444) |
| Luminance | 0.2447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.06
Soft Blue
#6488EA
ΔE00 2.77
Lightish Blue
#3D7AFD
ΔE00 3.93
Azure
#007FFF
ΔE00 4.03
Clear Blue
#247AFD
ΔE00 4.18
Dark Sky Blue
#448EE4
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5185EA #EAB651
analogous
#51D2EA #5185EA #6A51EA
triadic
#5185EA #EA5185 #85EA51
tetradic
#5185EA #EA51D2 #EAB651 #51EA6A
square
#5185EA #EA51D2 #EAB651 #51EA6A
split-complementary
#5185EA #EA6A51 #D2EA51
monochromatic
#1548AC #1B5FE2 #5185EA #88ABF1 #BED2F7
Accessibility & contrast
On white
3.56
#5185EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#5185EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5185EA
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5185EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5185EA | 1.00 | 3.56 | 5.89 | 5.89 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#3C81E8
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5185ea; /* rgb */ color: rgb(81, 133, 234); /* oklch */ color: oklch(63.0% 0.162 262.2);
Tailwind
colors: {
custom: {
50: '#91a8f1',
500: '#5185ea',
950: '#000000',
},
}SCSS
$custom: #5185ea; $custom-light: #91a8f1; $custom-dark: #000000;
JSON
{
"hex": "#5185ea",
"rgb": {
"r": 81,
"g": 133,
"b": 234
},
"hsl": {
"h": 219.608,
"s": 78.462,
"l": 61.765
},
"oklch": {
"l": 0.63012,
"c": 0.1621,
"h": 262.2
},
"luminance": 0.24465
}Semantic roles & 50–950 ramp
primary
#5185EA
secondary
#E8D4AF
accent
#940BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85