#040BEC

#040bec ≈ Blue

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

#040bec 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.31% green and 92.55% blue; printed in CMYK it uses 98.31% cyan, 95.34% magenta, 0% yellow and 7.45% black. Its hue angle is 238.19°, with 96.67% saturation and 47.06% 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.27:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.14.

Description generated from the measured properties of this color.

Conversions of #040bec 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.0632

Readable text 9.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #3738a4 ≈ 0.001% of males
Protanopia #0053f1 ≈ 1.01% of males
Deuteranopia #003ae9 ≈ 1.27% of males
Tritanopia #00648b ≈ 0.0001% of males
Protanomaly #0041ef ≈ 1.08% of males
Deuteranomaly #002dea ≈ 4.63% of males
Tritanomaly #004fba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#040bec  rgb(4, 11, 236)  hsl(238, 97%, 47%)  Blue
#ece504  rgb(236, 229, 4)  hsl(58, 97%, 47%)  Titanium Yellow
#ec040b  rgb(236, 4, 11)  hsl(358, 97%, 47%)  Lust
#0bec04  rgb(11, 236, 4)  hsl(118, 97%, 47%)  Lime