#282F2B

#282f2b ≈ Onyx

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

#282f2b 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.43% green and 16.86% blue; printed in CMYK it uses 14.89% cyan, 0% magenta, 8.51% yellow and 81.57% black. Its hue angle is 145.71°, with 8.05% saturation and 17.06% 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.71:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 5.59.

Description generated from the measured properties of this color.

Conversions of #282f2b 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.0266

Readable text 13.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #2b2e2c ≈ 0.001% of males
Protanopia #2f2e2b ≈ 1.01% of males
Deuteranopia #2d2d2b ≈ 1.27% of males
Tritanopia #272f2e ≈ 0.0001% of males
Protanomaly #2c2e2b ≈ 1.08% of males
Deuteranomaly #2b2e2b ≈ 4.63% of males
Tritanomaly #272f2d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Onyx
#282f2b  rgb(40, 47, 43)  hsl(146, 8%, 17%)  Onyx
#2f282c  rgb(47, 40, 44)  hsl(326, 8%, 17%)  Jet
#2b282f  rgb(43, 40, 47)  hsl(266, 8%, 17%)  Jet
#2f2b28  rgb(47, 43, 40)  hsl(26, 8%, 17%)  Jet