#240CA3

#240ca3 ≈ Zaffre

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#240ca3 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 14.12% red, 4.71% green and 63.92% blue; printed in CMYK it uses 77.91% cyan, 92.64% magenta, 0% yellow and 36.08% black. Its hue angle is 249.54°, with 86.29% saturation and 34.31% 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 corporate identities. White text on this color reaches a contrast ratio of 12.68:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.97.

Description generated from the measured properties of this color.

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

Readable text 12.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #333333 ≈ 0.003% of males
Achromatomaly #2d2871 ≈ 0.001% of males
Protanopia #0039a7 ≈ 1.01% of males
Deuteranopia #002ca1 ≈ 1.27% of males
Tritanopia #00435f ≈ 0.0001% of males
Protanomaly #002da5 ≈ 1.08% of males
Deuteranomaly #0022a2 ≈ 4.63% of males
Tritanomaly #003580 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-240ca3 {
  color: #240ca3;
}
Background
.bg-240ca3 {
  background-color: #240ca3;
  color: #ffffff;
}
Border
.border-240ca3 {
  border: 2px solid #240ca3;
}
CSS variables
:root {
  --color-primary: #240ca3;
  --color-primary-rgb: 36 12 163;
  --color-primary-hsl: 250 86% 34%;
}
Gradient
.gradient-240ca3 {
  background: linear-gradient(135deg, #240ca3, #6f0ca3);
}
Colored shadow
.shadow-240ca3 {
  box-shadow: 0 8px 24px rgb(36 12 163 / 0.35);
}

Zaffre
#240ca3  rgb(36, 12, 163)  hsl(250, 86%, 34%)  Zaffre
#8ba30c  rgb(139, 163, 12)  hsl(70, 86%, 34%)  Apple Green
#a3240c  rgb(163, 36, 12)  hsl(10, 86%, 34%)  Rufous
#0ca324  rgb(12, 163, 36)  hsl(130, 86%, 34%)  Islamic Green