#271968

#271968 ≈ Midnight Blue

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

#271968 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 15.29% red, 9.8% green and 40.78% blue; printed in CMYK it uses 62.5% cyan, 75.96% magenta, 0% yellow and 59.22% black. Its hue angle is 250.63°, with 61.24% saturation and 25.29% 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 14.73:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.49.

Description generated from the measured properties of this color.

Conversions of #271968 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.0213

Readable text 14.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #28234a ≈ 0.001% of males
Protanopia #002b6a ≈ 1.01% of males
Deuteranopia #002567 ≈ 1.27% of males
Tritanopia #002f3e ≈ 0.0001% of males
Protanomaly #002569 ≈ 1.08% of males
Deuteranomaly #002167 ≈ 4.63% of males
Tritanomaly #162752 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-271968 {
  color: #271968;
}
Background
.bg-271968 {
  background-color: #271968;
  color: #ffffff;
}
Border
.border-271968 {
  border: 2px solid #271968;
}
CSS variables
:root {
  --color-primary: #271968;
  --color-primary-rgb: 39 25 104;
  --color-primary-hsl: 251 61% 25%;
}
Gradient
.gradient-271968 {
  background: linear-gradient(135deg, #271968, #4e1968);
}
Colored shadow
.shadow-271968 {
  box-shadow: 0 8px 24px rgb(39 25 104 / 0.35);
}

Midnight Blue
#271968  rgb(39, 25, 104)  hsl(251, 61%, 25%)  Midnight Blue
#5a6819  rgb(90, 104, 25)  hsl(71, 61%, 25%)  Dark Olive Green
#682719  rgb(104, 39, 25)  hsl(11, 61%, 25%)  Caput Mortuum
#196827  rgb(25, 104, 39)  hsl(131, 61%, 25%)  Pakistan Green