#157eee
a balanced, electric blue · cool · closest name: dodgerblue
RGB
21, 126, 238
HSL
211°, 87%, 51%
CMYK
91, 47, 0, 7
Luminance
0.2125
Every format
| HEX | #157eee |
| RGB | rgb(21, 126, 238) |
| HSL | hsl(211, 87%, 51%) |
| CMYK | cmyk(91%, 47%, 0%, 7%) |
| LAB | lab(53.2 14.1 -63.9) |
| LCH | lch(53.2 65.4 282.4) |
| OKLCH | oklch(0.601 0.190 255.2) |
Copy-ready code
/* CSS */
color: #157eee;
background-color: #157eee;
/* Tailwind (arbitrary) */
class="text-[#157eee] bg-[#157eee]"
/* SCSS */
$brand: #157eee;
/* SwiftUI */
Color(red: 0.082, green: 0.494, blue: 0.933)
/* Android */
Color.parseColor("#157eee")Accessibility — WCAG contrast
Aa
#157eee on white: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#157eee on black: 5.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.2%
Green49.4%
Blue93.3%
CMYK percentages
Cyan91.2%
Magenta47.1%
Yellow0.0%
Key (black)6.7%
Color previews
#157eee text on a black background
contrast 5.25:1
Card sample
#157eee text on a white background
contrast 4.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #157eee;
Background color
Panel with #157eee background
background-color: #157eee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #157eee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(21, 126, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(21, 126, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #157eee; background: linear-gradient(135deg, #157eee, #3D15EE);