#0F154D

#0f154d ≈ Midnight Blue

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

#0f154d is a color from the blue family, with very low lightness and muted saturation. In the RGB model it is made of 5.88% red, 8.24% green and 30.2% blue; printed in CMYK it uses 80.52% cyan, 72.73% magenta, 0% yellow and 69.8% black. Its hue angle is 234.19°, with 67.39% saturation and 18.04% 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.01:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.42.

Description generated from the measured properties of this color.

Conversions of #0f154d 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.0117

Readable text 17.01: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 #181a36 ≈ 0.001% of males
Protanopia #001f4f ≈ 1.01% of males
Deuteranopia #00194c ≈ 1.27% of males
Tritanopia #00242e ≈ 0.0001% of males
Protanomaly #001c4e ≈ 1.08% of males
Deuteranomaly #00184c ≈ 4.63% of males
Tritanomaly #001f3d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#0f154d  rgb(15, 21, 77)  hsl(234, 67%, 18%)  Midnight Blue
#4d470f  rgb(77, 71, 15)  hsl(54, 67%, 18%)  Army Green
#4d0f15  rgb(77, 15, 21)  hsl(354, 67%, 18%)  Caput Mortuum
#154d0f  rgb(21, 77, 15)  hsl(114, 67%, 18%)  Lincoln Green