#28154A

#28154a ≈ Midnight Blue

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

#28154a is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 15.69% red, 8.24% green and 29.02% blue; printed in CMYK it uses 45.95% cyan, 71.62% magenta, 0% yellow and 70.98% black. Its hue angle is 261.51°, with 55.79% saturation and 18.63% 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.2:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.41.

Description generated from the measured properties of this color.

Conversions of #28154a 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.0148

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

Achromatopsia #202020 ≈ 0.003% of males
Achromatomaly #241c36 ≈ 0.001% of males
Protanopia #00214c ≈ 1.01% of males
Deuteranopia #002049 ≈ 1.27% of males
Tritanopia #1f212d ≈ 0.0001% of males
Protanomaly #131d4b ≈ 1.08% of males
Deuteranomaly #151c49 ≈ 4.63% of males
Tritanomaly #231d3b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-28154a {
  color: #28154a;
}
Background
.bg-28154a {
  background-color: #28154a;
  color: #ffffff;
}
Border
.border-28154a {
  border: 2px solid #28154a;
}
CSS variables
:root {
  --color-primary: #28154a;
  --color-primary-rgb: 40 21 74;
  --color-primary-hsl: 262 56% 19%;
}
Gradient
.gradient-28154a {
  background: linear-gradient(135deg, #28154a, #43154a);
}
Colored shadow
.shadow-28154a {
  box-shadow: 0 8px 24px rgb(40 21 74 / 0.35);
}

Midnight Blue
#28154a  rgb(40, 21, 74)  hsl(262, 56%, 19%)  Midnight Blue
#374a15  rgb(55, 74, 21)  hsl(82, 56%, 19%)  Army Green
#4a2815  rgb(74, 40, 21)  hsl(22, 56%, 19%)  Bistre
#154a28  rgb(21, 74, 40)  hsl(142, 56%, 19%)  British Racing Green