#040ADE

#040ade ≈ Medium Blue

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

#040ade 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.06% blue; printed in CMYK it uses 98.2% cyan, 95.5% magenta, 0% yellow and 12.94% black. Its hue angle is 238.35°, with 96.46% saturation and 44.31% 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.98:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.56.

Description generated from the measured properties of this color.

Conversions of #040ade 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.0552

Readable text 9.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #33349a ≈ 0.001% of males
Protanopia #004de3 ≈ 1.01% of males
Deuteranopia #0036db ≈ 1.27% of males
Tritanopia #005d82 ≈ 0.0001% of males
Protanomaly #003de1 ≈ 1.08% of males
Deuteranomaly #002adc ≈ 4.63% of males
Tritanomaly #0049af ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#040ade  rgb(4, 10, 222)  hsl(238, 96%, 44%)  Medium Blue
#ded804  rgb(222, 216, 4)  hsl(58, 96%, 44%)  Dandelion
#de040a  rgb(222, 4, 10)  hsl(358, 96%, 44%)  Rosso Corsa
#0ade04  rgb(10, 222, 4)  hsl(118, 96%, 44%)  Lime Green