#040f2c ≈ Oxford Blue
#040f2c is a color from the blue family, with very low lightness and muted saturation. In the RGB model it is made of 1.57% red, 5.88% green and 17.25% blue; printed in CMYK it uses 90.91% cyan, 65.91% magenta, 0% yellow and 82.75% black. Its hue angle is 223.5°, with 83.33% saturation and 9.41% 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 18.92:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 6.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0055 |
Shades
#040f2c mixed progressively with black.
Tints
#040f2c mixed progressively with white.
Tones
#040f2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040f2c {
color: #040f2c;
}
.bg-040f2c {
background-color: #040f2c;
color: #ffffff;
}
.border-040f2c {
border: 2px solid #040f2c;
}
:root {
--color-primary: #040f2c;
--color-primary-rgb: 4 15 44;
--color-primary-hsl: 224 83% 9%;
}
.gradient-040f2c {
background: linear-gradient(135deg, #040f2c, #0d042c);
}
.shadow-040f2c {
box-shadow: 0 8px 24px rgb(4 15 44 / 0.35);
}
Oxford Blue
#040f2c rgb(4, 15, 44) hsl(224, 83%, 9%) Oxford Blue
#2c2104 rgb(44, 33, 4) hsl(44, 83%, 9%) Bistre
#2c040f rgb(44, 4, 15) hsl(344, 83%, 9%) Licorice
#0f2c04 rgb(15, 44, 4) hsl(104, 83%, 9%) Phthalo Green