#0F116A

#0f116a ≈ Midnight Blue

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

#0f116a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.88% red, 6.67% green and 41.57% blue; printed in CMYK it uses 85.85% cyan, 83.96% magenta, 0% yellow and 58.43% black. Its hue angle is 238.68°, with 75.21% saturation and 23.73% 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.05:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.07.

Description generated from the measured properties of this color.

Conversions of #0f116a 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.0154

Readable text 16.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #1b1c49 ≈ 0.001% of males
Protanopia #00266c ≈ 1.01% of males
Deuteranopia #001c68 ≈ 1.27% of males
Tritanopia #002d3e ≈ 0.0001% of males
Protanomaly #001f6b ≈ 1.08% of males
Deuteranomaly #001869 ≈ 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-0f116a {
  color: #0f116a;
}
Background
.bg-0f116a {
  background-color: #0f116a;
  color: #ffffff;
}
Border
.border-0f116a {
  border: 2px solid #0f116a;
}
CSS variables
:root {
  --color-primary: #0f116a;
  --color-primary-rgb: 15 17 106;
  --color-primary-hsl: 239 75% 24%;
}
Gradient
.gradient-0f116a {
  background: linear-gradient(135deg, #0f116a, #3b0f6a);
}
Colored shadow
.shadow-0f116a {
  box-shadow: 0 8px 24px rgb(15 17 106 / 0.35);
}

Midnight Blue
#0f116a  rgb(15, 17, 106)  hsl(239, 75%, 24%)  Midnight Blue
#6a680f  rgb(106, 104, 15)  hsl(59, 75%, 24%)  Dark Olive Green
#6a0f11  rgb(106, 15, 17)  hsl(359, 75%, 24%)  Rosewood
#116a0f  rgb(17, 106, 15)  hsl(119, 75%, 24%)  Pakistan Green