#030F5D

#030f5d ≈ Midnight Blue

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

#030f5d 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.88% green and 36.47% blue; printed in CMYK it uses 96.77% cyan, 83.87% magenta, 0% yellow and 63.53% black. Its hue angle is 232°, with 93.75% saturation and 18.82% 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.07:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.81.

Description generated from the measured properties of this color.

Conversions of #030f5d 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.0115

Readable text 17.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1c1c1c ≈ 0.003% of males
Achromatomaly #151740 ≈ 0.001% of males
Protanopia #00205f ≈ 1.01% of males
Deuteranopia #00175c ≈ 1.27% of males
Tritanopia #002736 ≈ 0.0001% of males
Protanomaly #001b5e ≈ 1.08% of males
Deuteranomaly #00145c ≈ 4.63% of males
Tritanomaly #002049 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-030f5d {
  color: #030f5d;
}
Background
.bg-030f5d {
  background-color: #030f5d;
  color: #ffffff;
}
Border
.border-030f5d {
  border: 2px solid #030f5d;
}
CSS variables
:root {
  --color-primary: #030f5d;
  --color-primary-rgb: 3 15 93;
  --color-primary-hsl: 232 94% 19%;
}
Gradient
.gradient-030f5d {
  background: linear-gradient(135deg, #030f5d, #24035d);
}
Colored shadow
.shadow-030f5d {
  box-shadow: 0 8px 24px rgb(3 15 93 / 0.35);
}

Midnight Blue
#030f5d  rgb(3, 15, 93)  hsl(232, 94%, 19%)  Midnight Blue
#5d5103  rgb(93, 81, 3)  hsl(52, 94%, 19%)  Field Drab
#5d030f  rgb(93, 3, 15)  hsl(352, 94%, 19%)  Rosewood
#0f5d03  rgb(15, 93, 3)  hsl(112, 94%, 19%)  Lincoln Green