#040DD6

#040dd6 ≈ Medium Blue

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

#040dd6 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 5.1% green and 83.92% blue; printed in CMYK it uses 98.13% cyan, 93.93% magenta, 0% yellow and 16.08% black. Its hue angle is 237.43°, with 96.33% saturation and 42.75% 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 10.33:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.77.

Description generated from the measured properties of this color.

Conversions of #040dd6 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.0517

Readable text 10.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.03:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #323395 ≈ 0.001% of males
Protanopia #004bdb ≈ 1.01% of males
Deuteranopia #0034d3 ≈ 1.27% of males
Tritanopia #005a7e ≈ 0.0001% of males
Protanomaly #003bd9 ≈ 1.08% of males
Deuteranomaly #0029d4 ≈ 4.63% of males
Tritanomaly #0047a8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#040dd6  rgb(4, 13, 214)  hsl(237, 96%, 43%)  Medium Blue
#d6cd04  rgb(214, 205, 4)  hsl(57, 96%, 43%)  Citrine
#d6040d  rgb(214, 4, 13)  hsl(357, 96%, 43%)  Rosso Corsa
#0dd604  rgb(13, 214, 4)  hsl(117, 96%, 43%)  Lime Green