#35254E

#35254e ≈ Midnight Blue

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

#35254e is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 20.78% red, 14.51% green and 30.59% blue; printed in CMYK it uses 32.05% cyan, 52.56% magenta, 0% yellow and 69.41% black. Its hue angle is 263.41°, with 35.65% saturation and 22.55% 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 13.76:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 11.3.

Description generated from the measured properties of this color.

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

Readable text 13.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #302a3d ≈ 0.001% of males
Protanopia #182d4f ≈ 1.01% of males
Deuteranopia #1c2d4d ≈ 1.27% of males
Tritanopia #302c35 ≈ 0.0001% of males
Protanomaly #262a4f ≈ 1.08% of males
Deuteranomaly #282a4d ≈ 4.63% of males
Tritanomaly #322a41 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-35254e {
  color: #35254e;
}
Background
.bg-35254e {
  background-color: #35254e;
  color: #ffffff;
}
Border
.border-35254e {
  border: 2px solid #35254e;
}
CSS variables
:root {
  --color-primary: #35254e;
  --color-primary-rgb: 53 37 78;
  --color-primary-hsl: 263 36% 23%;
}
Gradient
.gradient-35254e {
  background: linear-gradient(135deg, #35254e, #49254e);
}
Colored shadow
.shadow-35254e {
  box-shadow: 0 8px 24px rgb(53 37 78 / 0.35);
}

Midnight Blue
#35254e  rgb(53, 37, 78)  hsl(263, 36%, 23%)  Midnight Blue
#3e4e25  rgb(62, 78, 37)  hsl(83, 36%, 23%)  Army Green
#4e3525  rgb(78, 53, 37)  hsl(23, 36%, 23%)  Bistre
#254e35  rgb(37, 78, 53)  hsl(143, 36%, 23%)  British Racing Green