#404348

#404348 ≈ Onyx

  • gray
  • Lightness: low
  • Saturation: almost no
  • Neutral

#404348 is a color from the gray family, with low lightness and almost no saturation. In the RGB model it is made of 25.1% red, 26.27% green and 28.24% blue; printed in CMYK it uses 11.11% cyan, 6.94% magenta, 0% yellow and 71.76% black. Its hue angle is 217.5°, with 5.88% saturation and 26.67% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 9.93:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 4.53.

Description generated from the measured properties of this color.

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

Readable text 9.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #424345 ≈ 0.001% of males
Protanopia #414348 ≈ 1.01% of males
Deuteranopia #414248 ≈ 1.27% of males
Tritanopia #3e4445 ≈ 0.0001% of males
Protanomaly #414348 ≈ 1.08% of males
Deuteranomaly #404348 ≈ 4.63% of males
Tritanomaly #3f4446 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-404348 {
  color: #404348;
}
Background
.bg-404348 {
  background-color: #404348;
  color: #ffffff;
}
Border
.border-404348 {
  border: 2px solid #404348;
}
CSS variables
:root {
  --color-primary: #404348;
  --color-primary-rgb: 64 67 72;
  --color-primary-hsl: 218 6% 27%;
}
Gradient
.gradient-404348 {
  background: linear-gradient(135deg, #404348, #414048);
}
Colored shadow
.shadow-404348 {
  box-shadow: 0 8px 24px rgb(64 67 72 / 0.35);
}

Onyx
#404348  rgb(64, 67, 72)  hsl(218, 6%, 27%)  Onyx
#484540  rgb(72, 69, 64)  hsl(38, 6%, 27%)  Black Olive
#484043  rgb(72, 64, 67)  hsl(338, 6%, 27%)  Jet
#434840  rgb(67, 72, 64)  hsl(98, 6%, 27%)  Black Olive