#271B38

#271b38 ≈ Oxford Blue

  • violet
  • Lightness: very low
  • Saturation: muted
  • Cool

#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.

Conversions of #271b38 into other color spaces
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 luminance0.015

Readable text 16.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #231f2c ≈ 0.001% of males
Protanopia #132139 ≈ 1.01% of males
Deuteranopia #162137 ≈ 1.27% of males
Tritanopia #242026 ≈ 0.0001% of males
Protanomaly #1d1e39 ≈ 1.08% of males
Deuteranomaly #1e1f38 ≈ 4.63% of males
Tritanomaly #251e2e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-271b38 {
  color: #271b38;
}
Background
.bg-271b38 {
  background-color: #271b38;
  color: #ffffff;
}
Border
.border-271b38 {
  border: 2px solid #271b38;
}
CSS variables
:root {
  --color-primary: #271b38;
  --color-primary-rgb: 39 27 56;
  --color-primary-hsl: 265 35% 16%;
}
Gradient
.gradient-271b38 {
  background: linear-gradient(135deg, #271b38, #351b38);
}
Colored shadow
.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