#1A0D38

#1a0d38 ≈ Midnight Blue

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

#1a0d38 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 10.2% red, 5.1% green and 21.96% blue; printed in CMYK it uses 53.57% cyan, 76.79% magenta, 0% yellow and 78.04% black. Its hue angle is 258.14°, with 62.32% saturation and 13.53% 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 18.13:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 11.15.

Description generated from the measured properties of this color.

Conversions of #1a0d38 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.0079

Readable text 18.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #161616 ≈ 0.003% of males
Achromatomaly #181327 ≈ 0.001% of males
Protanopia #001639 ≈ 1.01% of males
Deuteranopia #001537 ≈ 1.27% of males
Tritanopia #111721 ≈ 0.0001% of males
Protanomaly #091339 ≈ 1.08% of males
Deuteranomaly #0a1237 ≈ 4.63% of males
Tritanomaly #15142c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1a0d38 {
  color: #1a0d38;
}
Background
.bg-1a0d38 {
  background-color: #1a0d38;
  color: #ffffff;
}
Border
.border-1a0d38 {
  border: 2px solid #1a0d38;
}
CSS variables
:root {
  --color-primary: #1a0d38;
  --color-primary-rgb: 26 13 56;
  --color-primary-hsl: 258 62% 14%;
}
Gradient
.gradient-1a0d38 {
  background: linear-gradient(135deg, #1a0d38, #300d38);
}
Colored shadow
.shadow-1a0d38 {
  box-shadow: 0 8px 24px rgb(26 13 56 / 0.35);
}

Midnight Blue
#1a0d38  rgb(26, 13, 56)  hsl(258, 62%, 14%)  Midnight Blue
#2b380d  rgb(43, 56, 13)  hsl(78, 62%, 14%)  Army Green
#381a0d  rgb(56, 26, 13)  hsl(18, 62%, 14%)  Bistre
#0d381a  rgb(13, 56, 26)  hsl(138, 62%, 14%)  British Racing Green