#240DCC

#240dcc ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#240dcc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 14.12% red, 5.1% green and 80% blue; printed in CMYK it uses 82.35% cyan, 93.63% magenta, 0% yellow and 20% black. Its hue angle is 247.23°, with 88.02% saturation and 42.55% 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.48:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.54.

Description generated from the measured properties of this color.

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

Readable text 10.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #36328e ≈ 0.001% of males
Protanopia #0048d1 ≈ 1.01% of males
Deuteranopia #0036c9 ≈ 1.27% of males
Tritanopia #005578 ≈ 0.0001% of males
Protanomaly #0039cf ≈ 1.08% of males
Deuteranomaly #002aca ≈ 4.63% of males
Tritanomaly #0043a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-240dcc {
  color: #240dcc;
}
Background
.bg-240dcc {
  background-color: #240dcc;
  color: #ffffff;
}
Border
.border-240dcc {
  border: 2px solid #240dcc;
}
CSS variables
:root {
  --color-primary: #240dcc;
  --color-primary-rgb: 36 13 204;
  --color-primary-hsl: 247 88% 43%;
}
Gradient
.gradient-240dcc {
  background: linear-gradient(135deg, #240dcc, #840dcc);
}
Colored shadow
.shadow-240dcc {
  box-shadow: 0 8px 24px rgb(36 13 204 / 0.35);
}

Medium Blue
#240dcc  rgb(36, 13, 204)  hsl(247, 88%, 43%)  Medium Blue
#b5cc0d  rgb(181, 204, 13)  hsl(67, 88%, 43%)  Pear
#cc240d  rgb(204, 36, 13)  hsl(7, 88%, 43%)  Rosso Corsa
#0dcc24  rgb(13, 204, 36)  hsl(127, 88%, 43%)  Lime Green