#1f284b ≈ Oxford Blue
#1f284b is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 12.16% red, 15.69% green and 29.41% blue; printed in CMYK it uses 58.67% cyan, 46.67% magenta, 0% yellow and 70.59% black. Its hue angle is 227.73°, with 41.51% saturation and 20.78% 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 luxury branding. White text on this color reaches a contrast ratio of 14.35:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 4.93.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0232 |
Shades
#1f284b mixed progressively with black.
Tints
#1f284b mixed progressively with white.
Tones
#1f284b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f284b {
color: #1f284b;
}
.bg-1f284b {
background-color: #1f284b;
color: #ffffff;
}
.border-1f284b {
border: 2px solid #1f284b;
}
:root {
--color-primary: #1f284b;
--color-primary-rgb: 31 40 75;
--color-primary-hsl: 228 42% 21%;
}
.gradient-1f284b {
background: linear-gradient(135deg, #1f284b, #2c1f4b);
}
.shadow-1f284b {
box-shadow: 0 8px 24px rgb(31 40 75 / 0.35);
}
Oxford Blue
#1f284b rgb(31, 40, 75) hsl(228, 42%, 21%) Oxford Blue
#4b421f rgb(75, 66, 31) hsl(48, 42%, 21%) Army Green
#4b1f28 rgb(75, 31, 40) hsl(348, 42%, 21%) Caput Mortuum
#284b1f rgb(40, 75, 31) hsl(108, 42%, 21%) Hunter Green