#3940ab ≈ Persian Blue
#3940ab is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 22.35% red, 25.1% green and 67.06% blue; printed in CMYK it uses 66.67% cyan, 62.57% magenta, 0% yellow and 32.94% black. Its hue angle is 236.32°, with 50% 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 brand accents. White text on this color reaches a contrast ratio of 8.42:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.43.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0748 |
Shades
#3940ab mixed progressively with black.
Tints
#3940ab mixed progressively with white.
Tones
#3940ab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-3940ab {
color: #3940ab;
}
.bg-3940ab {
background-color: #3940ab;
color: #ffffff;
}
.border-3940ab {
border: 2px solid #3940ab;
}
:root {
--color-primary: #3940ab;
--color-primary-rgb: 57 64 171;
--color-primary-hsl: 236 50% 45%;
}
.gradient-3940ab {
background: linear-gradient(135deg, #3940ab, #6b39ab);
}
.shadow-3940ab {
box-shadow: 0 8px 24px rgb(57 64 171 / 0.35);
}
Persian Blue
#3940ab rgb(57, 64, 171) hsl(236, 50%, 45%) Persian Blue
#aba439 rgb(171, 164, 57) hsl(56, 50%, 45%) Brass
#ab3940 rgb(171, 57, 64) hsl(356, 50%, 45%) Cardinal
#40ab39 rgb(64, 171, 57) hsl(116, 50%, 45%) Kelly Green