Black Onyx Color — #2A272C: Codes, Palettes & Contrast

Black Onyx (#2A272C) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.

Black Onyx is a named gray color, ready to use anywhere you need it.

Black Onyx#2A272C

Black Onyx color codes

HEX#2A272C
RGBrgb(42, 39, 44)
HSLhsl(276, 6%, 16%)
OKLCHoklch(0.278 0.010 312.1)

Browse more gray colors.

Readable text on Black Onyx

White text (#FFFFFF) has the higher contrast against this background: 14.74:1.

Text colorRatioNormal text AANormal text AAA
Black1.43:1FailFail
White14.74:1PassPass

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale