Onyx#353839

#353839 is a dark, near-neutral grey. Relative luminance 0.039; OKLCH L 33.8% C 0.004 H 219.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Onyx — editorial page

Color values

HEX#353839
RGBrgb(53, 56, 57)
HSLhsl(195, 4%, 22%)
HSVhsv(195, 7%, 22%)
CMYKcmyk(7%, 1.8%, 0%, 77.6%)
CIE-LABlab(23.27, -1.04, -1.07)
CIE-LCHlch(23.27, 1.49, 225.70°)
OKLaboklab(33.82% -0.0035 -0.0029)
OKLCHoklch(33.82% 0.004 219.6)
XYZxyz(3.6207, 3.8806, 4.4284)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#353839 #393635
analogous
#353938 #353839 #353639
triadic
#353839 #393538 #383935
tetradic
#353839 #383539 #393635 #363935
square
#353839 #383539 #393635 #363935
split-complementary
#353839 #393536 #393835
monochromatic
#0F1010 #181919 #353839 #525759 #707678

Accessibility & contrast

On white

11.82
#353839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#353839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #353839
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##353839#FFFFFF#000000##FFFFFF
##3538391.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373839
Deuteranopia (green-blind)
#373739
Tritanopia (blue-blind)
#343838
Achromatopsia (no color)
#373737

Related colors

#303334
#2B2E2F
#272929
#222424
#1E1F1F
#191A1B
#151616
#0F1010
#080909
#000000
#47494A
#595B5C
#6C6E6F
#7F8182
#939596
#A8A9AA
#BDBEBF
#D3D3D4
#E9E9E9
#FFFFFF
#363839
#363838
#373838
#373737

Palettes with this color

Design tokens & code

CSS
--color: #353839;
/* rgb */ color: rgb(53, 56, 57);
/* oklch */ color: oklch(33.8% 0.004 219.6);
Tailwind
colors: {
  custom: {
    50: '#6c6e6f',
    500: '#353839',
    950: '#000000',
  },
}
SCSS
$custom: #353839;
$custom-light: #6c6e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#353839",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 57
  },
  "hsl": {
    "h": 195,
    "s": 3.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33816,
    "c": 0.00449,
    "h": 219.6
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#353839
secondary
#676462
accent
#877BAD
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060707
muted
#7A7A7A

Preview Lab

Preview with #353839

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#353839 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva