#240CFD

#240cfd ≈ Blue

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

#240cfd is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 14.12% red, 4.71% green and 99.22% blue; printed in CMYK it uses 85.77% cyan, 95.26% magenta, 0% yellow and 0.78% black. Its hue angle is 245.98°, with 98.37% saturation and 51.96% 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 8.25:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.04.

Description generated from the measured properties of this color.

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

Readable text 8.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #413eb1 ≈ 0.001% of males
Protanopia #005aff ≈ 1.01% of males
Deuteranopia #0042f9 ≈ 1.27% of males
Tritanopia #006b95 ≈ 0.0001% of males
Protanomaly #0047ff ≈ 1.08% of males
Deuteranomaly #0034fb ≈ 4.63% of males
Tritanomaly #0054c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-240cfd {
  color: #240cfd;
}
Background
.bg-240cfd {
  background-color: #240cfd;
  color: #ffffff;
}
Border
.border-240cfd {
  border: 2px solid #240cfd;
}
CSS variables
:root {
  --color-primary: #240cfd;
  --color-primary-rgb: 36 12 253;
  --color-primary-hsl: 246 98% 52%;
}
Gradient
.gradient-240cfd {
  background: linear-gradient(135deg, #240cfd, #9d0cfd);
}
Colored shadow
.shadow-240cfd {
  box-shadow: 0 8px 24px rgb(36 12 253 / 0.35);
}

Blue
#240cfd  rgb(36, 12, 253)  hsl(246, 98%, 52%)  Blue
#e5fd0c  rgb(229, 253, 12)  hsl(66, 98%, 52%)  Lemon Lime
#fd240c  rgb(253, 36, 12)  hsl(6, 98%, 52%)  Candy Apple Red
#0cfd24  rgb(12, 253, 36)  hsl(126, 98%, 52%)  Lime