#1b21bb ≈ Medium Blue
#1b21bb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 10.59% red, 12.94% green and 73.33% blue; printed in CMYK it uses 85.56% cyan, 82.35% magenta, 0% yellow and 26.67% black. Its hue angle is 237.75°, with 74.77% saturation and 41.96% 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 10.6:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0491 |
Shades
#1b21bb mixed progressively with black.
Tints
#1b21bb mixed progressively with white.
Tones
#1b21bb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1b21bb {
color: #1b21bb;
}
.bg-1b21bb {
background-color: #1b21bb;
color: #ffffff;
}
.border-1b21bb {
border: 2px solid #1b21bb;
}
:root {
--color-primary: #1b21bb;
--color-primary-rgb: 27 33 187;
--color-primary-hsl: 238 75% 42%;
}
.gradient-1b21bb {
background: linear-gradient(135deg, #1b21bb, #651bbb);
}
.shadow-1b21bb {
box-shadow: 0 8px 24px rgb(27 33 187 / 0.35);
}
Medium Blue
#1b21bb rgb(27, 33, 187) hsl(238, 75%, 42%) Medium Blue
#bbb51b rgb(187, 181, 27) hsl(58, 75%, 42%) Old Gold
#bb1b21 rgb(187, 27, 33) hsl(358, 75%, 42%) Firebrick
#21bb1b rgb(33, 187, 27) hsl(118, 75%, 42%) Kelly Green