#030F6A

#030f6a ≈ Midnight Blue

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

#030f6a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 5.88% green and 41.57% blue; printed in CMYK it uses 97.17% cyan, 85.85% magenta, 0% yellow and 58.43% black. Its hue angle is 233.01°, with 94.5% saturation and 21.37% 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.4:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.68.

Description generated from the measured properties of this color.

Conversions of #030f6a 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.014

Readable text 16.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1f1f1f ≈ 0.003% of males
Achromatomaly #171a49 ≈ 0.001% of males
Protanopia #00256c ≈ 1.01% of males
Deuteranopia #001a68 ≈ 1.27% of males
Tritanopia #002c3d ≈ 0.0001% of males
Protanomaly #001e6b ≈ 1.08% of males
Deuteranomaly #001669 ≈ 4.63% of males
Tritanomaly #002453 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-030f6a {
  color: #030f6a;
}
Background
.bg-030f6a {
  background-color: #030f6a;
  color: #ffffff;
}
Border
.border-030f6a {
  border: 2px solid #030f6a;
}
CSS variables
:root {
  --color-primary: #030f6a;
  --color-primary-rgb: 3 15 106;
  --color-primary-hsl: 233 95% 21%;
}
Gradient
.gradient-030f6a {
  background: linear-gradient(135deg, #030f6a, #2a036a);
}
Colored shadow
.shadow-030f6a {
  box-shadow: 0 8px 24px rgb(3 15 106 / 0.35);
}

Midnight Blue
#030f6a  rgb(3, 15, 106)  hsl(233, 95%, 21%)  Midnight Blue
#6a5e03  rgb(106, 94, 3)  hsl(53, 95%, 21%)  Field Drab
#6a030f  rgb(106, 3, 15)  hsl(353, 95%, 21%)  Rosewood
#0f6a03  rgb(15, 106, 3)  hsl(113, 95%, 21%)  Pakistan Green