#030D5A

#030d5a ≈ Midnight Blue

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

#030d5a is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 5.1% green and 35.29% blue; printed in CMYK it uses 96.67% cyan, 85.56% magenta, 0% yellow and 64.71% black. Its hue angle is 233.1°, with 93.55% saturation and 18.24% 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 17.37:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.36.

Description generated from the measured properties of this color.

Conversions of #030d5a 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.0105

Readable text 17.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1a1a1a ≈ 0.003% of males
Achromatomaly #13163d ≈ 0.001% of males
Protanopia #001f5c ≈ 1.01% of males
Deuteranopia #001659 ≈ 1.27% of males
Tritanopia #002534 ≈ 0.0001% of males
Protanomaly #00195b ≈ 1.08% of males
Deuteranomaly #001359 ≈ 4.63% of males
Tritanomaly #001e46 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-030d5a {
  color: #030d5a;
}
Background
.bg-030d5a {
  background-color: #030d5a;
  color: #ffffff;
}
Border
.border-030d5a {
  border: 2px solid #030d5a;
}
CSS variables
:root {
  --color-primary: #030d5a;
  --color-primary-rgb: 3 13 90;
  --color-primary-hsl: 233 94% 18%;
}
Gradient
.gradient-030d5a {
  background: linear-gradient(135deg, #030d5a, #25035a);
}
Colored shadow
.shadow-030d5a {
  box-shadow: 0 8px 24px rgb(3 13 90 / 0.35);
}

Midnight Blue
#030d5a  rgb(3, 13, 90)  hsl(233, 94%, 18%)  Midnight Blue
#5a5003  rgb(90, 80, 3)  hsl(53, 94%, 18%)  Field Drab
#5a030d  rgb(90, 3, 13)  hsl(353, 94%, 18%)  Rosewood
#0d5a03  rgb(13, 90, 3)  hsl(113, 94%, 18%)  Lincoln Green