#021f4f ≈ Oxford Blue
#021f4f is a color from the azure family, with very low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 12.16% green and 30.98% blue; printed in CMYK it uses 97.47% cyan, 60.76% magenta, 0% yellow and 69.02% black. Its hue angle is 217.4°, with 95.06% saturation and 15.88% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 16.01:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 2.62.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0156 |
Shades
#021f4f mixed progressively with black.
Tints
#021f4f mixed progressively with white.
Tones
#021f4f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021f4f {
color: #021f4f;
}
.bg-021f4f {
background-color: #021f4f;
color: #ffffff;
}
.border-021f4f {
border: 2px solid #021f4f;
}
:root {
--color-primary: #021f4f;
--color-primary-rgb: 2 31 79;
--color-primary-hsl: 217 95% 16%;
}
.gradient-021f4f {
background: linear-gradient(135deg, #021f4f, #0b024f);
}
.shadow-021f4f {
box-shadow: 0 8px 24px rgb(2 31 79 / 0.35);
}
Oxford Blue
#021f4f rgb(2, 31, 79) hsl(217, 95%, 16%) Oxford Blue
#4f3202 rgb(79, 50, 2) hsl(37, 95%, 16%) Sepia
#4f021f rgb(79, 2, 31) hsl(337, 95%, 16%) Tyrian Purple
#1f4f02 rgb(31, 79, 2) hsl(97, 95%, 16%) Lincoln Green