#313634

#313634 ≈ Onyx

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

#313634 is a color from the gray family, with low lightness and almost no saturation. In the RGB model it is made of 19.22% red, 21.18% green and 20.39% blue; printed in CMYK it uses 9.26% cyan, 0% magenta, 3.7% yellow and 78.82% black. Its hue angle is 156°, with 4.85% saturation and 20.2% 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 12.3:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 2.76.

Description generated from the measured properties of this color.

Conversions of #313634 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.0354

Readable text 12.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #333535 ≈ 0.001% of males
Protanopia #363534 ≈ 1.01% of males
Deuteranopia #353534 ≈ 1.27% of males
Tritanopia #303635 ≈ 0.0001% of males
Protanomaly #343634 ≈ 1.08% of males
Deuteranomaly #333534 ≈ 4.63% of males
Tritanomaly #303635 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-313634 {
  color: #313634;
}
Background
.bg-313634 {
  background-color: #313634;
  color: #ffffff;
}
Border
.border-313634 {
  border: 2px solid #313634;
}
CSS variables
:root {
  --color-primary: #313634;
  --color-primary-rgb: 49 54 52;
  --color-primary-hsl: 156 5% 20%;
}
Gradient
.gradient-313634 {
  background: linear-gradient(135deg, #313634, #313636);
}
Colored shadow
.shadow-313634 {
  box-shadow: 0 8px 24px rgb(49 54 52 / 0.35);
}

Onyx
#313634  rgb(49, 54, 52)  hsl(156, 5%, 20%)  Onyx
#363133  rgb(54, 49, 51)  hsl(336, 5%, 20%)  Jet
#343136  rgb(52, 49, 54)  hsl(276, 5%, 20%)  Jet
#363431  rgb(54, 52, 49)  hsl(36, 5%, 20%)  Jet