Onyx (#353839)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 11.82:1 — vs black: 1.78:1

Color values

  • HEX #353839
  • RGB rgb(53, 56, 57)
  • HSL hsl(195, 7%, 22%)
  • CMYK cmyk( 7.02, 1.75, 0, 77.65 )

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #353839 based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Onyx
#353839 Base
#393635
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Onyx
#353839 Base
#353938
#353639
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Onyx
#353839 Base
#393538
#383935
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Onyx
#353839 Base
#393536
#393835
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Onyx
#353839 Base
#383539
#393635
#363935
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Onyx
#353839 Base
#0C0D0D
#101111
#212324
#494D4E
#5A5F61
#7F8688
Shades & Tints

Darker shades and lighter tints of Onyx, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#0C0D0D
#141616
#1D1E1F
#252727
#2D2F30
Onyx #353839 Base
#595E60
#7D8486
#A4A9AB
#CBCECF
#F2F2F3
CSS & SCSS Snippets

Ready-to-use code snippets for #353839. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #353839;
}

/* Text */
.element {
    color: #353839;
}

/* Border */
.element {
    border: 1px solid #353839;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #353839,
        #3D3735
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #353839,
        #3D3735
    );
}
SCSS Variable
// SCSS variable
$onyx: #353839;

// With RGB channels (useful for rgba() usage)
$onyx-r: 53;
$onyx-g: 56;
$onyx-b: 57;

// Usage
.element {
    background-color: $onyx;
    color: rgba($onyx-r, $onyx-g, $onyx-b, 0.8);
}
Color Blindness Simulation

How Onyx appears to people with different types of color vision deficiency.

Normal Vision #353839 How the color appears with full color vision.
Deuteranopia #373739 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #383839 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #353838 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #373737 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Onyx ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Onyx #353839 Base
Jet #343434 ΔE 2.13
Black Olive #3B3C36 ΔE 4.60
Arsenic #3B444B ΔE 5.39
Charleston Green #232B2B ΔE 5.50

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.