#0F1972

#0f1972 ≈ Midnight Blue

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

#0f1972 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.88% red, 9.8% green and 44.71% blue; printed in CMYK it uses 86.84% cyan, 78.07% magenta, 0% yellow and 55.29% black. Its hue angle is 233.94°, with 76.74% saturation and 25.29% 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 14.97:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 0.95.

Description generated from the measured properties of this color.

Conversions of #0f1972 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.0201

Readable text 14.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #272727 ≈ 0.003% of males
Achromatomaly #1f2250 ≈ 0.001% of males
Protanopia #002c75 ≈ 1.01% of males
Deuteranopia #002270 ≈ 1.27% of males
Tritanopia #003344 ≈ 0.0001% of males
Protanomaly #002574 ≈ 1.08% of males
Deuteranomaly #001f71 ≈ 4.63% of males
Tritanomaly #002b5a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0f1972 {
  color: #0f1972;
}
Background
.bg-0f1972 {
  background-color: #0f1972;
  color: #ffffff;
}
Border
.border-0f1972 {
  border: 2px solid #0f1972;
}
CSS variables
:root {
  --color-primary: #0f1972;
  --color-primary-rgb: 15 25 114;
  --color-primary-hsl: 234 77% 25%;
}
Gradient
.gradient-0f1972 {
  background: linear-gradient(135deg, #0f1972, #360f72);
}
Colored shadow
.shadow-0f1972 {
  box-shadow: 0 8px 24px rgb(15 25 114 / 0.35);
}

Midnight Blue
#0f1972  rgb(15, 25, 114)  hsl(234, 77%, 25%)  Midnight Blue
#72680f  rgb(114, 104, 15)  hsl(54, 77%, 25%)  Olive
#720f19  rgb(114, 15, 25)  hsl(354, 77%, 25%)  Rosewood
#19720f  rgb(25, 114, 15)  hsl(114, 77%, 25%)  Pakistan Green