#270A48

#270a48 ≈ Midnight Blue

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

#270a48 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, 3.92% green and 28.24% blue; printed in CMYK it uses 45.83% cyan, 86.11% magenta, 0% yellow and 71.76% black. Its hue angle is 268.06°, with 75.61% saturation and 16.08% 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 17.17:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.74.

Description generated from the measured properties of this color.

Conversions of #270a48 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330033
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0112

Readable text 17.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1b1b1b ≈ 0.003% of males
Achromatomaly #201633 ≈ 0.001% of males
Protanopia #001b4a ≈ 1.01% of males
Deuteranopia #001b47 ≈ 1.27% of males
Tritanopia #1f1b29 ≈ 0.0001% of males
Protanomaly #0d1649 ≈ 1.08% of males
Deuteranomaly #101547 ≈ 4.63% of males
Tritanomaly #221538 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-270a48 {
  color: #270a48;
}
Background
.bg-270a48 {
  background-color: #270a48;
  color: #ffffff;
}
Border
.border-270a48 {
  border: 2px solid #270a48;
}
CSS variables
:root {
  --color-primary: #270a48;
  --color-primary-rgb: 39 10 72;
  --color-primary-hsl: 268 76% 16%;
}
Gradient
.gradient-270a48 {
  background: linear-gradient(135deg, #270a48, #460a48);
}
Colored shadow
.shadow-270a48 {
  box-shadow: 0 8px 24px rgb(39 10 72 / 0.35);
}

Midnight Blue
#270a48  rgb(39, 10, 72)  hsl(268, 76%, 16%)  Midnight Blue
#2b480a  rgb(43, 72, 10)  hsl(88, 76%, 16%)  Lincoln Green
#48270a  rgb(72, 39, 10)  hsl(28, 76%, 16%)  Bistre
#0a4827  rgb(10, 72, 39)  hsl(148, 76%, 16%)  British Racing Green