#404255

#404255 ≈ Charcoal

  • blue
  • Lightness: low
  • Saturation: muted
  • Cool

#404255 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 25.88% green and 33.33% blue; printed in CMYK it uses 24.71% cyan, 22.35% magenta, 0% yellow and 66.67% black. Its hue angle is 234.29°, with 14.09% saturation and 29.22% 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 9.87:1 (WCAG AAA). The closest named color is Charcoal (#36454f), ΔE 9.59.

Description generated from the measured properties of this color.

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

Readable text 9.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #42434b ≈ 0.001% of males
Protanopia #3d4456 ≈ 1.01% of males
Deuteranopia #3c4355 ≈ 1.27% of males
Tritanopia #3b4548 ≈ 0.0001% of males
Protanomaly #3e4356 ≈ 1.08% of males
Deuteranomaly #3e4255 ≈ 4.63% of males
Tritanomaly #3d444e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-404255 {
  color: #404255;
}
Background
.bg-404255 {
  background-color: #404255;
  color: #ffffff;
}
Border
.border-404255 {
  border: 2px solid #404255;
}
CSS variables
:root {
  --color-primary: #404255;
  --color-primary-rgb: 64 66 85;
  --color-primary-hsl: 234 14% 29%;
}
Gradient
.gradient-404255 {
  background: linear-gradient(135deg, #404255, #494055);
}
Colored shadow
.shadow-404255 {
  box-shadow: 0 8px 24px rgb(64 66 85 / 0.35);
}

Charcoal
#404255  rgb(64, 66, 85)  hsl(234, 14%, 29%)  Charcoal
#555340  rgb(85, 83, 64)  hsl(54, 14%, 29%)  Rifle Green
#554042  rgb(85, 64, 66)  hsl(354, 14%, 29%)  Liver
#425540  rgb(66, 85, 64)  hsl(114, 14%, 29%)  Rifle Green