#1A237D

#1a237d ≈ Midnight Blue

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

#1a237d is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 10.2% red, 13.73% green and 49.02% blue; printed in CMYK it uses 79.2% cyan, 72% magenta, 0% yellow and 50.98% black. Its hue angle is 234.55°, with 65.56% saturation and 29.61% 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 13.29:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.11.

Description generated from the measured properties of this color.

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

Readable text 13.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #282b59 ≈ 0.001% of males
Protanopia #003480 ≈ 1.01% of males
Deuteranopia #002b7b ≈ 1.27% of males
Tritanopia #003c4d ≈ 0.0001% of males
Protanomaly #002e7f ≈ 1.08% of males
Deuteranomaly #00287c ≈ 4.63% of males
Tritanomaly #003464 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1a237d {
  color: #1a237d;
}
Background
.bg-1a237d {
  background-color: #1a237d;
  color: #ffffff;
}
Border
.border-1a237d {
  border: 2px solid #1a237d;
}
CSS variables
:root {
  --color-primary: #1a237d;
  --color-primary-rgb: 26 35 125;
  --color-primary-hsl: 235 66% 30%;
}
Gradient
.gradient-1a237d {
  background: linear-gradient(135deg, #1a237d, #431a7d);
}
Colored shadow
.shadow-1a237d {
  box-shadow: 0 8px 24px rgb(26 35 125 / 0.35);
}

Midnight Blue
#1a237d  rgb(26, 35, 125)  hsl(235, 66%, 30%)  Midnight Blue
#7d741a  rgb(125, 116, 26)  hsl(55, 66%, 30%)  Olive
#7d1a23  rgb(125, 26, 35)  hsl(355, 66%, 30%)  Burgundy
#237d1a  rgb(35, 125, 26)  hsl(115, 66%, 30%)  Green