Onyx Color

#464544 · rgb(70, 69, 68)

Onyx is a dark gray color with the hex code #464544. It is not a CSS keyword, so use the hex value in code; the closest CSS named color is Dark Slate Gray (#2F4F4F). In RGB it is made of 27% red, 27% green and 27% blue.

HEX#464544
RGBrgb(70, 69, 68)
HSLhsl(30, 1%, 27%)
HSV / HSBhsv(30, 3%, 27%)
CMYKcmyk(0%, 1%, 3%, 73%)
Decimal4605252
Closest CSS nameDark Slate Gray
Luminance6.0%
Closest Tailwindneutral-700 (#404040)

Open in converter Make a gradient Check contrast Pick colors from an image

Contrast & text

White text · 9.57:1 · AAA
Black text · 2.2:1 · fails
#464544 on white · 9.57:1
#464544 on black · 2.2:1

CSS

.text   { color: #464544; }
.bg     { background-color: #464544; }
.border { border: 2px solid #464544; }
.grad   { background: linear-gradient(135deg, #464544, #444546); }

Tints of Onyx

#595857 · #6B6A69 · #7E7D7C · #908F8F · #A3A2A2 · #B5B5B4 · #C8C7C7 · #DADADA · #EDECEC

Shades of Onyx

#3F3E3D · #383736 · #313030 · #2A2929 · #232322 · #1C1C1B · #151514 · #0E0E0E · #070707

Color combinations

Complementary

#464544 · #444546

Analogous

#464444 · #464544 · #464644

Triadic

#464544 · #444645 · #454446

Split complementary

#464544 · #444646 · #444446

Tetradic

#464544 · #444644 · #444546 · #464446

Colors similar to Onyx

Onyx: questions & answers

What color is #464544?

#464544 is a dark gray. In the RGB model it is made of 27% red, 27% green and 27% blue.

Is Onyx a CSS color name?

No. Onyx is a common color name, not a CSS keyword, so write it as #464544 (or rgb(70, 69, 68)) in CSS. The closest CSS keyword is darkslategray (#2F4F4F).

What is Onyx in RGB?

rgb(70, 69, 68). In HSL it is hsl(30, 1%, 27%), and in CMYK it is approximately cmyk(0%, 1%, 3%, 73%).

What colors go with Onyx?

Its complementary color is #444546. For a calmer scheme, try the analogous colors #464444 and #464644.

Should I use white or black text on Onyx?

White text reads better: contrast is 9.57:1 (WCAG AAA).