#270D49

#270d49 ≈ Midnight Blue

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

#270d49 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, 5.1% green and 28.63% blue; printed in CMYK it uses 46.58% cyan, 82.19% magenta, 0% yellow and 71.37% black. Its hue angle is 266°, with 69.77% saturation and 16.86% 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.93:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.44.

Description generated from the measured properties of this color.

Conversions of #270d49 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.012

Readable text 16.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1d1d1d ≈ 0.003% of males
Achromatomaly #211734 ≈ 0.001% of males
Protanopia #001d4b ≈ 1.01% of males
Deuteranopia #001c48 ≈ 1.27% of males
Tritanopia #1e1d2a ≈ 0.0001% of males
Protanomaly #0e184a ≈ 1.08% of males
Deuteranomaly #111748 ≈ 4.63% of males
Tritanomaly #221739 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-270d49 {
  color: #270d49;
}
Background
.bg-270d49 {
  background-color: #270d49;
  color: #ffffff;
}
Border
.border-270d49 {
  border: 2px solid #270d49;
}
CSS variables
:root {
  --color-primary: #270d49;
  --color-primary-rgb: 39 13 73;
  --color-primary-hsl: 266 70% 17%;
}
Gradient
.gradient-270d49 {
  background: linear-gradient(135deg, #270d49, #450d49);
}
Colored shadow
.shadow-270d49 {
  box-shadow: 0 8px 24px rgb(39 13 73 / 0.35);
}

Midnight Blue
#270d49  rgb(39, 13, 73)  hsl(266, 70%, 17%)  Midnight Blue
#2f490d  rgb(47, 73, 13)  hsl(86, 70%, 17%)  Army Green
#49270d  rgb(73, 39, 13)  hsl(26, 70%, 17%)  Bistre
#0d4927  rgb(13, 73, 39)  hsl(146, 70%, 17%)  British Racing Green