#040DC0

#040dc0 ≈ Medium Blue

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#040dc0 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 5.1% green and 75.29% blue; printed in CMYK it uses 97.92% cyan, 93.23% magenta, 0% yellow and 24.71% black. Its hue angle is 237.13°, with 95.92% saturation and 38.43% 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.51:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.6.

Description generated from the measured properties of this color.

Conversions of #040dc0 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.0412

Readable text 11.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #393939 ≈ 0.003% of males
Achromatomaly #2c2d85 ≈ 0.001% of males
Protanopia #0043c4 ≈ 1.01% of males
Deuteranopia #002fbd ≈ 1.27% of males
Tritanopia #005170 ≈ 0.0001% of males
Protanomaly #0035c3 ≈ 1.08% of males
Deuteranomaly #0025be ≈ 4.63% of males
Tritanomaly #003f97 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040dc0 {
  color: #040dc0;
}
Background
.bg-040dc0 {
  background-color: #040dc0;
  color: #ffffff;
}
Border
.border-040dc0 {
  border: 2px solid #040dc0;
}
CSS variables
:root {
  --color-primary: #040dc0;
  --color-primary-rgb: 4 13 192;
  --color-primary-hsl: 237 96% 38%;
}
Gradient
.gradient-040dc0 {
  background: linear-gradient(135deg, #040dc0, #5904c0);
}
Colored shadow
.shadow-040dc0 {
  box-shadow: 0 8px 24px rgb(4 13 192 / 0.35);
}

Medium Blue
#040dc0  rgb(4, 13, 192)  hsl(237, 96%, 38%)  Medium Blue
#c0b704  rgb(192, 183, 4)  hsl(57, 96%, 38%)  Old Gold
#c0040d  rgb(192, 4, 13)  hsl(357, 96%, 38%)  Venetian Red
#0dc004  rgb(13, 192, 4)  hsl(117, 96%, 38%)  Kelly Green