#040FC9

#040fc9 ≈ Medium Blue

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

#040fc9 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 78.82% blue; printed in CMYK it uses 98.01% cyan, 92.54% magenta, 0% yellow and 21.18% black. Its hue angle is 236.65°, with 96.1% saturation and 40.2% 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.96:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.09.

Description generated from the measured properties of this color.

Conversions of #040fc9 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.0458

Readable text 10.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3c3c3c ≈ 0.003% of males
Achromatomaly #2f308c ≈ 0.001% of males
Protanopia #0046ce ≈ 1.01% of males
Deuteranopia #0031c6 ≈ 1.27% of males
Tritanopia #005576 ≈ 0.0001% of males
Protanomaly #0038cc ≈ 1.08% of males
Deuteranomaly #0027c7 ≈ 4.63% of males
Tritanomaly #00439e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#040fc9  rgb(4, 15, 201)  hsl(237, 96%, 40%)  Medium Blue
#c9be04  rgb(201, 190, 4)  hsl(57, 96%, 40%)  Citrine
#c9040f  rgb(201, 4, 15)  hsl(357, 96%, 40%)  Venetian Red
#0fc904  rgb(15, 201, 4)  hsl(117, 96%, 40%)  Lime Green