#281151

#281151 ≈ Midnight Blue

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

#281151 is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 15.69% red, 6.67% green and 31.76% blue; printed in CMYK it uses 50.62% cyan, 79.01% magenta, 0% yellow and 68.24% black. Its hue angle is 261.56°, with 65.31% saturation and 19.22% 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.29:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.79.

Description generated from the measured properties of this color.

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

Readable text 16.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #202020 ≈ 0.003% of males
Achromatomaly #231b39 ≈ 0.001% of males
Protanopia #002153 ≈ 1.01% of males
Deuteranopia #001f50 ≈ 1.27% of males
Tritanopia #1c222f ≈ 0.0001% of males
Protanomaly #0d1b52 ≈ 1.08% of males
Deuteranomaly #0f1a50 ≈ 4.63% of males
Tritanomaly #211c3f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#281151  rgb(40, 17, 81)  hsl(262, 65%, 19%)  Midnight Blue
#3a5111  rgb(58, 81, 17)  hsl(82, 65%, 19%)  Army Green
#512811  rgb(81, 40, 17)  hsl(22, 65%, 19%)  Caput Mortuum
#115128  rgb(17, 81, 40)  hsl(142, 65%, 19%)  British Racing Green