#5185E8#5185E8
#5185E8 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.9% C 0.159 H 262.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5185E8 |
|---|---|
| RGB | rgb(81, 133, 232) |
| HSL | hsl(219, 77%, 61%) |
| HSV | hsv(219, 65%, 91%) |
| CMYK | cmyk(65.1%, 42.7%, 0%, 9%) |
| CIE-LAB | lab(56.43, 13.77, -55.31) |
| CIE-LCH | lch(56.43, 57.00, 283.98°) |
| OKLab | oklab(62.89% -0.0222 -0.1579) |
| OKLCH | oklch(62.89% 0.159 262) |
| XYZ | xyz(26.3412, 24.3480, 79.6397) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.19
Soft Blue
#6488EA
ΔE00 2.87
Azure
#007FFF
ΔE00 4.02
Lightish Blue
#3D7AFD
ΔE00 4.03
Clear Blue
#247AFD
ΔE00 4.22
Dark Sky Blue
#448EE4
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5185E8 #E8B451
analogous
#51D1E8 #5185E8 #6951E8
triadic
#5185E8 #E85185 #85E851
tetradic
#5185E8 #E851D1 #E8B451 #51E869
square
#5185E8 #E851D1 #E8B451 #51E869
split-complementary
#5185E8 #E86951 #D1E851
monochromatic
#1649A8 #1D60DE #5185E8 #87ABEF #BDD1F6
Accessibility & contrast
On white
3.58
#5185E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#5185E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5185E8
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5185E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5185E8 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#568FEC
Deuteranopia (green-blind)
#3E81E6
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5185e8; /* rgb */ color: rgb(81, 133, 232); /* oklch */ color: oklch(62.9% 0.159 262.0);
Tailwind
colors: {
custom: {
50: '#90a8f0',
500: '#5185e8',
950: '#000000',
},
}SCSS
$custom: #5185e8; $custom-light: #90a8f0; $custom-dark: #000000;
JSON
{
"hex": "#5185e8",
"rgb": {
"r": 81,
"g": 133,
"b": 232
},
"hsl": {
"h": 219.338,
"s": 76.65,
"l": 61.373
},
"oklch": {
"l": 0.62888,
"c": 0.15944,
"h": 262
},
"luminance": 0.24351
}Semantic roles & 50–950 ramp
primary
#5185E8
secondary
#E7D3AE
accent
#930DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84