#050D64

#050d64 ≈ Midnight Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#050d64 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.96% red, 5.1% green and 39.22% blue; printed in CMYK it uses 95% cyan, 87% magenta, 0% yellow and 60.78% black. Its hue angle is 234.95°, with 90.48% saturation and 20.59% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 16.83:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.3.

Description generated from the measured properties of this color.

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

Readable text 16.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1d1d1d ≈ 0.003% of males
Achromatomaly #161844 ≈ 0.001% of males
Protanopia #002266 ≈ 1.01% of males
Deuteranopia #001863 ≈ 1.27% of males
Tritanopia #002939 ≈ 0.0001% of males
Protanomaly #001b65 ≈ 1.08% of males
Deuteranomaly #001463 ≈ 4.63% of males
Tritanomaly #00214e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-050d64 {
  color: #050d64;
}
Background
.bg-050d64 {
  background-color: #050d64;
  color: #ffffff;
}
Border
.border-050d64 {
  border: 2px solid #050d64;
}
CSS variables
:root {
  --color-primary: #050d64;
  --color-primary-rgb: 5 13 100;
  --color-primary-hsl: 235 90% 21%;
}
Gradient
.gradient-050d64 {
  background: linear-gradient(135deg, #050d64, #2d0564);
}
Colored shadow
.shadow-050d64 {
  box-shadow: 0 8px 24px rgb(5 13 100 / 0.35);
}

Midnight Blue
#050d64  rgb(5, 13, 100)  hsl(235, 90%, 21%)  Midnight Blue
#645c05  rgb(100, 92, 5)  hsl(55, 90%, 21%)  Field Drab
#64050d  rgb(100, 5, 13)  hsl(355, 90%, 21%)  Rosewood
#0d6405  rgb(13, 100, 5)  hsl(115, 90%, 21%)  Dark Green