#0B126E

#0b126e ≈ Midnight Blue

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

#0b126e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.31% red, 7.06% green and 43.14% blue; printed in CMYK it uses 90% cyan, 83.64% magenta, 0% yellow and 56.86% black. Its hue angle is 235.76°, with 81.82% 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 15.84:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.86.

Description generated from the measured properties of this color.

Conversions of #0b126e 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.0163

Readable text 15.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #1b1d4c ≈ 0.001% of males
Protanopia #002771 ≈ 1.01% of males
Deuteranopia #001d6c ≈ 1.27% of males
Tritanopia #002f40 ≈ 0.0001% of males
Protanomaly #002070 ≈ 1.08% of males
Deuteranomaly #00196d ≈ 4.63% of males
Tritanomaly #002656 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0b126e {
  color: #0b126e;
}
Background
.bg-0b126e {
  background-color: #0b126e;
  color: #ffffff;
}
Border
.border-0b126e {
  border: 2px solid #0b126e;
}
CSS variables
:root {
  --color-primary: #0b126e;
  --color-primary-rgb: 11 18 110;
  --color-primary-hsl: 236 82% 24%;
}
Gradient
.gradient-0b126e {
  background: linear-gradient(135deg, #0b126e, #360b6e);
}
Colored shadow
.shadow-0b126e {
  box-shadow: 0 8px 24px rgb(11 18 110 / 0.35);
}

Midnight Blue
#0b126e  rgb(11, 18, 110)  hsl(236, 82%, 24%)  Midnight Blue
#6e670b  rgb(110, 103, 11)  hsl(56, 82%, 24%)  Olive
#6e0b12  rgb(110, 11, 18)  hsl(356, 82%, 24%)  Rosewood
#126e0b  rgb(18, 110, 11)  hsl(116, 82%, 24%)  Pakistan Green