#040AE3

#040ae3 ≈ Medium Blue

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

#040ae3 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.02% blue; printed in CMYK it uses 98.24% cyan, 95.59% magenta, 0% yellow and 10.98% black. Its hue angle is 238.39°, with 96.54% saturation and 45.29% 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.73:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.18.

Description generated from the measured properties of this color.

Conversions of #040ae3 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.0579

Readable text 9.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #35359e ≈ 0.001% of males
Protanopia #004fe8 ≈ 1.01% of males
Deuteranopia #0037e0 ≈ 1.27% of males
Tritanopia #006085 ≈ 0.0001% of males
Protanomaly #003ee6 ≈ 1.08% of males
Deuteranomaly #002be1 ≈ 4.63% of males
Tritanomaly #004bb3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#040ae3  rgb(4, 10, 227)  hsl(238, 97%, 45%)  Medium Blue
#e3dd04  rgb(227, 221, 4)  hsl(58, 97%, 45%)  Titanium Yellow
#e3040a  rgb(227, 4, 10)  hsl(358, 97%, 45%)  Lust
#0ae304  rgb(10, 227, 4)  hsl(118, 97%, 45%)  Malachite