#040FDD

#040fdd ≈ Medium Blue

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

#040fdd 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.88% green and 86.67% blue; printed in CMYK it uses 98.19% cyan, 93.21% magenta, 0% yellow and 13.33% black. Its hue angle is 236.96°, with 96.44% saturation and 44.12% 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.92:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.68.

Description generated from the measured properties of this color.

Conversions of #040fdd 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.0559

Readable text 9.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #34359a ≈ 0.001% of males
Protanopia #004ee2 ≈ 1.01% of males
Deuteranopia #0037da ≈ 1.27% of males
Tritanopia #005e82 ≈ 0.0001% of males
Protanomaly #003de0 ≈ 1.08% of males
Deuteranomaly #002bdb ≈ 4.63% of males
Tritanomaly #004aae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040fdd {
  color: #040fdd;
}
Background
.bg-040fdd {
  background-color: #040fdd;
  color: #ffffff;
}
Border
.border-040fdd {
  border: 2px solid #040fdd;
}
CSS variables
:root {
  --color-primary: #040fdd;
  --color-primary-rgb: 4 15 221;
  --color-primary-hsl: 237 96% 44%;
}
Gradient
.gradient-040fdd {
  background: linear-gradient(135deg, #040fdd, #6604dd);
}
Colored shadow
.shadow-040fdd {
  box-shadow: 0 8px 24px rgb(4 15 221 / 0.35);
}

Medium Blue
#040fdd  rgb(4, 15, 221)  hsl(237, 96%, 44%)  Medium Blue
#ddd204  rgb(221, 210, 4)  hsl(57, 96%, 44%)  Citrine
#dd040f  rgb(221, 4, 15)  hsl(357, 96%, 44%)  Rosso Corsa
#0fdd04  rgb(15, 221, 4)  hsl(117, 96%, 44%)  Lime Green