#0312e1 ≈ Medium Blue
#0312e1 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 7.06% green and 88.24% blue; printed in CMYK it uses 98.67% cyan, 92% magenta, 0% yellow and 11.76% black. Its hue angle is 235.95°, with 97.37% saturation and 44.71% 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.64:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.33.
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.0589 |
Shades
#0312e1 mixed progressively with black.
Tints
#0312e1 mixed progressively with white.
Tones
#0312e1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0312e1 {
color: #0312e1;
}
.bg-0312e1 {
background-color: #0312e1;
color: #ffffff;
}
.border-0312e1 {
border: 2px solid #0312e1;
}
:root {
--color-primary: #0312e1;
--color-primary-rgb: 3 18 225;
--color-primary-hsl: 236 97% 45%;
}
.gradient-0312e1 {
background: linear-gradient(135deg, #0312e1, #6303e1);
}
.shadow-0312e1 {
box-shadow: 0 8px 24px rgb(3 18 225 / 0.35);
}
Medium Blue
#0312e1 rgb(3, 18, 225) hsl(236, 97%, 45%) Medium Blue
#e1d203 rgb(225, 210, 3) hsl(56, 97%, 45%) Citrine
#e10312 rgb(225, 3, 18) hsl(356, 97%, 45%) Lust
#12e103 rgb(18, 225, 3) hsl(116, 97%, 45%) Lime Green