#040AC8

#040ac8 ≈ Medium Blue

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

#040ac8 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 78.43% blue; printed in CMYK it uses 98% cyan, 95% magenta, 0% yellow and 21.57% black. Its hue angle is 238.16°, with 96.08% saturation and 40% 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 11.15:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 0.77.

Description generated from the measured properties of this color.

Conversions of #040ac8 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.0441

Readable text 11.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3b3b3b ≈ 0.003% of males
Achromatomaly #2e2e8b ≈ 0.001% of males
Protanopia #0045cd ≈ 1.01% of males
Deuteranopia #0030c5 ≈ 1.27% of males
Tritanopia #005475 ≈ 0.0001% of males
Protanomaly #0036cb ≈ 1.08% of males
Deuteranomaly #0026c6 ≈ 4.63% of males
Tritanomaly #00429d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#040ac8  rgb(4, 10, 200)  hsl(238, 96%, 40%)  Medium Blue
#c8c204  rgb(200, 194, 4)  hsl(58, 96%, 40%)  Citrine
#c8040a  rgb(200, 4, 10)  hsl(358, 96%, 40%)  Venetian Red
#0ac804  rgb(10, 200, 4)  hsl(118, 96%, 40%)  Lime Green