#1F064E

#1f064e ≈ Midnight Blue

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

#1f064e is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 12.16% red, 2.35% green and 30.59% blue; printed in CMYK it uses 60.26% cyan, 92.31% magenta, 0% yellow and 69.41% black. Its hue angle is 260.83°, with 85.71% saturation and 16.47% 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 17.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.12.

Description generated from the measured properties of this color.

Conversions of #1f064e 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.0097

Readable text 17.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #191919 ≈ 0.003% of males
Achromatomaly #1c1336 ≈ 0.001% of males
Protanopia #001a50 ≈ 1.01% of males
Deuteranopia #00174d ≈ 1.27% of males
Tritanopia #0b1c2b ≈ 0.0001% of males
Protanomaly #00144f ≈ 1.08% of males
Deuteranomaly #00124d ≈ 4.63% of males
Tritanomaly #15163c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f064e {
  color: #1f064e;
}
Background
.bg-1f064e {
  background-color: #1f064e;
  color: #ffffff;
}
Border
.border-1f064e {
  border: 2px solid #1f064e;
}
CSS variables
:root {
  --color-primary: #1f064e;
  --color-primary-rgb: 31 6 78;
  --color-primary-hsl: 261 86% 16%;
}
Gradient
.gradient-1f064e {
  background: linear-gradient(135deg, #1f064e, #43064e);
}
Colored shadow
.shadow-1f064e {
  box-shadow: 0 8px 24px rgb(31 6 78 / 0.35);
}

Midnight Blue
#1f064e  rgb(31, 6, 78)  hsl(261, 86%, 16%)  Midnight Blue
#354e06  rgb(53, 78, 6)  hsl(81, 86%, 16%)  Army Green
#4e1f06  rgb(78, 31, 6)  hsl(21, 86%, 16%)  Caput Mortuum
#064e1f  rgb(6, 78, 31)  hsl(141, 86%, 16%)  British Racing Green