#313536

#313536 ≈ Onyx

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

#313536 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, 20.78% green and 21.18% blue; printed in CMYK it uses 9.26% cyan, 1.85% magenta, 0% yellow and 78.82% black. Its hue angle is 192°, 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.4:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 1.2.

Description generated from the measured properties of this color.

Conversions of #313536 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.0347

Readable text 12.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #343434 ≈ 0.003% of males
Achromatomaly #333535 ≈ 0.001% of males
Protanopia #343536 ≈ 1.01% of males
Deuteranopia #333436 ≈ 1.27% of males
Tritanopia #303535 ≈ 0.0001% of males
Protanomaly #333536 ≈ 1.08% of males
Deuteranomaly #323436 ≈ 4.63% of males
Tritanomaly #303536 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Onyx
#313536  rgb(49, 53, 54)  hsl(192, 5%, 20%)  Onyx
#363231  rgb(54, 50, 49)  hsl(12, 5%, 20%)  Jet
#363135  rgb(54, 49, 53)  hsl(312, 5%, 20%)  Jet
#353631  rgb(53, 54, 49)  hsl(72, 5%, 20%)  Black Olive