#0B0F71

#0b0f71 ≈ Midnight Blue

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

#0b0f71 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.31% red, 5.88% green and 44.31% blue; printed in CMYK it uses 90.27% cyan, 86.73% magenta, 0% yellow and 55.69% black. Its hue angle is 237.65°, with 82.26% saturation and 24.31% 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 15.9:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.49.

Description generated from the measured properties of this color.

Conversions of #0b0f71 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.0161

Readable text 15.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #1b1c4e ≈ 0.001% of males
Protanopia #002774 ≈ 1.01% of males
Deuteranopia #001d6f ≈ 1.27% of males
Tritanopia #002f41 ≈ 0.0001% of males
Protanomaly #002073 ≈ 1.08% of males
Deuteranomaly #001870 ≈ 4.63% of males
Tritanomaly #002658 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0b0f71 {
  color: #0b0f71;
}
Background
.bg-0b0f71 {
  background-color: #0b0f71;
  color: #ffffff;
}
Border
.border-0b0f71 {
  border: 2px solid #0b0f71;
}
CSS variables
:root {
  --color-primary: #0b0f71;
  --color-primary-rgb: 11 15 113;
  --color-primary-hsl: 238 82% 24%;
}
Gradient
.gradient-0b0f71 {
  background: linear-gradient(135deg, #0b0f71, #3a0b71);
}
Colored shadow
.shadow-0b0f71 {
  box-shadow: 0 8px 24px rgb(11 15 113 / 0.35);
}

Midnight Blue
#0b0f71  rgb(11, 15, 113)  hsl(238, 82%, 24%)  Midnight Blue
#716d0b  rgb(113, 109, 11)  hsl(58, 82%, 24%)  Olive
#710b0f  rgb(113, 11, 15)  hsl(358, 82%, 24%)  Rosewood
#0f710b  rgb(15, 113, 11)  hsl(118, 82%, 24%)  Pakistan Green