#030A5A

#030a5a ≈ Midnight Blue

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

#030a5a 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, 3.92% green and 35.29% blue; printed in CMYK it uses 96.67% cyan, 88.89% magenta, 0% yellow and 64.71% black. Its hue angle is 235.17°, 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.57:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.68.

Description generated from the measured properties of this color.

Conversions of #030a5a 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.0097

Readable text 17.57: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 #12143d ≈ 0.001% of males
Protanopia #001e5c ≈ 1.01% of males
Deuteranopia #001459 ≈ 1.27% of males
Tritanopia #002433 ≈ 0.0001% of males
Protanomaly #00175b ≈ 1.08% of males
Deuteranomaly #001159 ≈ 4.63% of males
Tritanomaly #001c46 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#030a5a  rgb(3, 10, 90)  hsl(235, 94%, 18%)  Midnight Blue
#5a5303  rgb(90, 83, 3)  hsl(55, 94%, 18%)  Army Green
#5a030a  rgb(90, 3, 10)  hsl(355, 94%, 18%)  Rosewood
#0a5a03  rgb(10, 90, 3)  hsl(115, 94%, 18%)  Lincoln Green