#0512e4 ≈ Blue
#0512e4 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.96% red, 7.06% green and 89.41% blue; printed in CMYK it uses 97.81% cyan, 92.11% magenta, 0% yellow and 10.59% black. Its hue angle is 236.5°, with 95.71% saturation and 45.69% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 9.49:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0607 |
Shades
#0512e4 mixed progressively with black.
Tints
#0512e4 mixed progressively with white.
Tones
#0512e4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0512e4 {
color: #0512e4;
}
.bg-0512e4 {
background-color: #0512e4;
color: #ffffff;
}
.border-0512e4 {
border: 2px solid #0512e4;
}
:root {
--color-primary: #0512e4;
--color-primary-rgb: 5 18 228;
--color-primary-hsl: 237 96% 46%;
}
.gradient-0512e4 {
background: linear-gradient(135deg, #0512e4, #6705e4);
}
.shadow-0512e4 {
box-shadow: 0 8px 24px rgb(5 18 228 / 0.35);
}
Blue
#0512e4 rgb(5, 18, 228) hsl(237, 96%, 46%) Blue
#e4d705 rgb(228, 215, 5) hsl(57, 96%, 46%) Citrine
#e40512 rgb(228, 5, 18) hsl(357, 96%, 46%) Lust
#12e405 rgb(18, 228, 5) hsl(117, 96%, 46%) Lime