#040AE5

#040ae5 ≈ Blue

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

#040ae5 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 89.8% blue; printed in CMYK it uses 98.25% cyan, 95.63% magenta, 0% yellow and 10.2% black. Its hue angle is 238.4°, with 96.57% saturation and 45.69% 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.63:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.03.

Description generated from the measured properties of this color.

Conversions of #040ae5 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.059

Readable text 9.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #35369f ≈ 0.001% of males
Protanopia #0050ea ≈ 1.01% of males
Deuteranopia #0038e2 ≈ 1.27% of males
Tritanopia #006186 ≈ 0.0001% of males
Protanomaly #003fe8 ≈ 1.08% of males
Deuteranomaly #002ce3 ≈ 4.63% of males
Tritanomaly #004cb4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#040ae5  rgb(4, 10, 229)  hsl(238, 97%, 46%)  Blue
#e5df04  rgb(229, 223, 4)  hsl(58, 97%, 46%)  Titanium Yellow
#e5040a  rgb(229, 4, 10)  hsl(358, 97%, 46%)  Lust
#0ae504  rgb(10, 229, 4)  hsl(118, 97%, 46%)  Lime