#0A237D

#0a237d ≈ Midnight Blue

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

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

Description generated from the measured properties of this color.

Conversions of #0a237d 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.0275

Readable text 13.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2e2e2e ≈ 0.003% of males
Achromatomaly #242a58 ≈ 0.001% of males
Protanopia #003480 ≈ 1.01% of males
Deuteranopia #00297b ≈ 1.27% of males
Tritanopia #003c4d ≈ 0.0001% of males
Protanomaly #002e7f ≈ 1.08% of males
Deuteranomaly #00277c ≈ 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-0a237d {
  color: #0a237d;
}
Background
.bg-0a237d {
  background-color: #0a237d;
  color: #ffffff;
}
Border
.border-0a237d {
  border: 2px solid #0a237d;
}
CSS variables
:root {
  --color-primary: #0a237d;
  --color-primary-rgb: 10 35 125;
  --color-primary-hsl: 227 85% 26%;
}
Gradient
.gradient-0a237d {
  background: linear-gradient(135deg, #0a237d, #2b0a7d);
}
Colored shadow
.shadow-0a237d {
  box-shadow: 0 8px 24px rgb(10 35 125 / 0.35);
}

Midnight Blue
#0a237d  rgb(10, 35, 125)  hsl(227, 85%, 26%)  Midnight Blue
#7d640a  rgb(125, 100, 10)  hsl(47, 85%, 26%)  Field Drab
#7d0a23  rgb(125, 10, 35)  hsl(347, 85%, 26%)  Burgundy
#237d0a  rgb(35, 125, 10)  hsl(107, 85%, 26%)  Green