#0E1F5E

#0e1f5e ≈ Midnight Blue

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

#0e1f5e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.49% red, 12.16% green and 36.86% blue; printed in CMYK it uses 85.11% cyan, 67.02% magenta, 0% yellow and 63.14% black. Its hue angle is 227.25°, with 74.07% saturation and 21.18% 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.26:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.87.

Description generated from the measured properties of this color.

Conversions of #0e1f5e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#003366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0188

Readable text 15.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #252525 ≈ 0.003% of males
Achromatomaly #1e2343 ≈ 0.001% of males
Protanopia #002960 ≈ 1.01% of males
Deuteranopia #00225d ≈ 1.27% of males
Tritanopia #002f3b ≈ 0.0001% of males
Protanomaly #00255f ≈ 1.08% of males
Deuteranomaly #00215d ≈ 4.63% of males
Tritanomaly #002a4b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0e1f5e {
  color: #0e1f5e;
}
Background
.bg-0e1f5e {
  background-color: #0e1f5e;
  color: #ffffff;
}
Border
.border-0e1f5e {
  border: 2px solid #0e1f5e;
}
CSS variables
:root {
  --color-primary: #0e1f5e;
  --color-primary-rgb: 14 31 94;
  --color-primary-hsl: 227 74% 21%;
}
Gradient
.gradient-0e1f5e {
  background: linear-gradient(135deg, #0e1f5e, #250e5e);
}
Colored shadow
.shadow-0e1f5e {
  box-shadow: 0 8px 24px rgb(14 31 94 / 0.35);
}

Midnight Blue
#0e1f5e  rgb(14, 31, 94)  hsl(227, 74%, 21%)  Midnight Blue
#5e4d0e  rgb(94, 77, 14)  hsl(47, 74%, 21%)  Field Drab
#5e0e1f  rgb(94, 14, 31)  hsl(347, 74%, 21%)  Rosewood
#1f5e0e  rgb(31, 94, 14)  hsl(107, 74%, 21%)  Lincoln Green