#0D0338

#0d0338 ≈ Midnight Blue

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

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

Description generated from the measured properties of this color.

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

Readable text 19.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #0e0e0e ≈ 0.003% of males
Achromatomaly #0e0a25 ≈ 0.001% of males
Protanopia #001039 ≈ 1.01% of males
Deuteranopia #000c37 ≈ 1.27% of males
Tritanopia #00131e ≈ 0.0001% of males
Protanomaly #000b39 ≈ 1.08% of males
Deuteranomaly #000837 ≈ 4.63% of males
Tritanomaly #010d2a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0d0338 {
  color: #0d0338;
}
Background
.bg-0d0338 {
  background-color: #0d0338;
  color: #ffffff;
}
Border
.border-0d0338 {
  border: 2px solid #0d0338;
}
CSS variables
:root {
  --color-primary: #0d0338;
  --color-primary-rgb: 13 3 56;
  --color-primary-hsl: 251 90% 12%;
}
Gradient
.gradient-0d0338 {
  background: linear-gradient(135deg, #0d0338, #280338);
}
Colored shadow
.shadow-0d0338 {
  box-shadow: 0 8px 24px rgb(13 3 56 / 0.35);
}

Midnight Blue
#0d0338  rgb(13, 3, 56)  hsl(251, 90%, 12%)  Midnight Blue
#2e3803  rgb(46, 56, 3)  hsl(71, 90%, 12%)  Army Green
#380d03  rgb(56, 13, 3)  hsl(11, 90%, 12%)  Caput Mortuum
#03380d  rgb(3, 56, 13)  hsl(131, 90%, 12%)  British Racing Green