#04236A

#04236a ≈ Midnight Blue

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

#04236a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 13.73% green and 41.57% blue; printed in CMYK it uses 96.23% cyan, 66.98% magenta, 0% yellow and 58.43% black. Its hue angle is 221.76°, with 92.73% saturation and 21.57% 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 14.45:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.79.

Description generated from the measured properties of this color.

Conversions of #04236a 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.0227

Readable text 14.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2a2a2a ≈ 0.003% of males
Achromatomaly #20274b ≈ 0.001% of males
Protanopia #002e6c ≈ 1.01% of males
Deuteranopia #002569 ≈ 1.27% of males
Tritanopia #003643 ≈ 0.0001% of males
Protanomaly #002a6b ≈ 1.08% of males
Deuteranomaly #002469 ≈ 4.63% of males
Tritanomaly #002f55 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-04236a {
  color: #04236a;
}
Background
.bg-04236a {
  background-color: #04236a;
  color: #ffffff;
}
Border
.border-04236a {
  border: 2px solid #04236a;
}
CSS variables
:root {
  --color-primary: #04236a;
  --color-primary-rgb: 4 35 106;
  --color-primary-hsl: 222 93% 22%;
}
Gradient
.gradient-04236a {
  background: linear-gradient(135deg, #04236a, #18046a);
}
Colored shadow
.shadow-04236a {
  box-shadow: 0 8px 24px rgb(4 35 106 / 0.35);
}

Midnight Blue
#04236a  rgb(4, 35, 106)  hsl(222, 93%, 22%)  Midnight Blue
#6a4b04  rgb(106, 75, 4)  hsl(42, 93%, 22%)  Field Drab
#6a0423  rgb(106, 4, 35)  hsl(342, 93%, 22%)  Claret
#236a04  rgb(35, 106, 4)  hsl(102, 93%, 22%)  Pakistan Green