#040AE0

#040ae0 ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#040ae0 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 3.92% green and 87.84% blue; printed in CMYK it uses 98.21% cyan, 95.54% magenta, 0% yellow and 12.16% black. Its hue angle is 238.36°, with 96.49% saturation and 44.71% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 9.88:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.8.

Description generated from the measured properties of this color.

Conversions of #040ae0 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0000cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0562

Readable text 9.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #34349c ≈ 0.001% of males
Protanopia #004ee5 ≈ 1.01% of males
Deuteranopia #0037dd ≈ 1.27% of males
Tritanopia #005e83 ≈ 0.0001% of males
Protanomaly #003de3 ≈ 1.08% of males
Deuteranomaly #002bde ≈ 4.63% of males
Tritanomaly #004ab0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040ae0 {
  color: #040ae0;
}
Background
.bg-040ae0 {
  background-color: #040ae0;
  color: #ffffff;
}
Border
.border-040ae0 {
  border: 2px solid #040ae0;
}
CSS variables
:root {
  --color-primary: #040ae0;
  --color-primary-rgb: 4 10 224;
  --color-primary-hsl: 238 96% 45%;
}
Gradient
.gradient-040ae0 {
  background: linear-gradient(135deg, #040ae0, #6c04e0);
}
Colored shadow
.shadow-040ae0 {
  box-shadow: 0 8px 24px rgb(4 10 224 / 0.35);
}

Medium Blue
#040ae0  rgb(4, 10, 224)  hsl(238, 96%, 45%)  Medium Blue
#e0da04  rgb(224, 218, 4)  hsl(58, 96%, 45%)  Titanium Yellow
#e0040a  rgb(224, 4, 10)  hsl(358, 96%, 45%)  Rosso Corsa
#0ae004  rgb(10, 224, 4)  hsl(118, 96%, 45%)  Lime Green