#271b38 ≈ Oxford Blue
#271b38 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 15.29% red, 10.59% green and 21.96% blue; printed in CMYK it uses 30.36% cyan, 51.79% magenta, 0% yellow and 78.04% black. Its hue angle is 264.83°, with 34.94% saturation and 16.27% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.15:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 11.72.
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.015 |
Shades
#271b38 mixed progressively with black.
Tints
#271b38 mixed progressively with white.
Tones
#271b38 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-271b38 {
color: #271b38;
}
.bg-271b38 {
background-color: #271b38;
color: #ffffff;
}
.border-271b38 {
border: 2px solid #271b38;
}
:root {
--color-primary: #271b38;
--color-primary-rgb: 39 27 56;
--color-primary-hsl: 265 35% 16%;
}
.gradient-271b38 {
background: linear-gradient(135deg, #271b38, #351b38);
}
.shadow-271b38 {
box-shadow: 0 8px 24px rgb(39 27 56 / 0.35);
}
Oxford Blue
#271b38 rgb(39, 27, 56) hsl(265, 35%, 16%) Oxford Blue
#2c381b rgb(44, 56, 27) hsl(85, 35%, 16%) Rifle Green
#38271b rgb(56, 39, 27) hsl(25, 35%, 16%) Bistre
#1b3827 rgb(27, 56, 39) hsl(145, 35%, 16%) Phthalo Green