#040CED

#040ced ≈ Blue

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

#040ced is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 4.71% green and 92.94% blue; printed in CMYK it uses 98.31% cyan, 94.94% magenta, 0% yellow and 7.06% black. Its hue angle is 237.94°, with 96.68% saturation and 47.25% 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.21:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.01.

Description generated from the measured properties of this color.

Conversions of #040ced into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0000ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.064

Readable text 9.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #3838a5 ≈ 0.001% of males
Protanopia #0053f2 ≈ 1.01% of males
Deuteranopia #003aea ≈ 1.27% of males
Tritanopia #00648b ≈ 0.0001% of males
Protanomaly #0042f0 ≈ 1.08% of males
Deuteranomaly #002eeb ≈ 4.63% of males
Tritanomaly #004fbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040ced {
  color: #040ced;
}
Background
.bg-040ced {
  background-color: #040ced;
  color: #ffffff;
}
Border
.border-040ced {
  border: 2px solid #040ced;
}
CSS variables
:root {
  --color-primary: #040ced;
  --color-primary-rgb: 4 12 237;
  --color-primary-hsl: 238 97% 47%;
}
Gradient
.gradient-040ced {
  background: linear-gradient(135deg, #040ced, #7004ed);
}
Colored shadow
.shadow-040ced {
  box-shadow: 0 8px 24px rgb(4 12 237 / 0.35);
}

Blue
#040ced  rgb(4, 12, 237)  hsl(238, 97%, 47%)  Blue
#ede504  rgb(237, 229, 4)  hsl(58, 97%, 47%)  Titanium Yellow
#ed040c  rgb(237, 4, 12)  hsl(358, 97%, 47%)  Lust
#0ced04  rgb(12, 237, 4)  hsl(118, 97%, 47%)  Lime