#282E2A

#282e2a ≈ Onyx

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

#282e2a is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 15.69% red, 18.04% green and 16.47% blue; printed in CMYK it uses 13.04% cyan, 0% magenta, 8.7% yellow and 81.96% black. Its hue angle is 140°, with 6.98% saturation and 16.86% 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 13.87:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 5.49.

Description generated from the measured properties of this color.

Conversions of #282e2a 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.0257

Readable text 13.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #2b2d2c ≈ 0.001% of males
Protanopia #2e2d2a ≈ 1.01% of males
Deuteranopia #2d2c2a ≈ 1.27% of males
Tritanopia #272e2d ≈ 0.0001% of males
Protanomaly #2c2d2a ≈ 1.08% of males
Deuteranomaly #2b2d2a ≈ 4.63% of males
Tritanomaly #272e2c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-282e2a {
  color: #282e2a;
}
Background
.bg-282e2a {
  background-color: #282e2a;
  color: #ffffff;
}
Border
.border-282e2a {
  border: 2px solid #282e2a;
}
CSS variables
:root {
  --color-primary: #282e2a;
  --color-primary-rgb: 40 46 42;
  --color-primary-hsl: 140 7% 17%;
}
Gradient
.gradient-282e2a {
  background: linear-gradient(135deg, #282e2a, #282e2d);
}
Colored shadow
.shadow-282e2a {
  box-shadow: 0 8px 24px rgb(40 46 42 / 0.35);
}

Onyx
#282e2a  rgb(40, 46, 42)  hsl(140, 7%, 17%)  Onyx
#2e282c  rgb(46, 40, 44)  hsl(320, 7%, 17%)  Jet
#2a282e  rgb(42, 40, 46)  hsl(260, 7%, 17%)  Jet
#2e2a28  rgb(46, 42, 40)  hsl(20, 7%, 17%)  Jet