#333239#333239

#333239 is a dark, near-neutral grey. Relative luminance 0.033; OKLCH L 32.1% C 0.012 H 292.2°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#333239
RGBrgb(51, 50, 57)
HSLhsl(249, 7%, 21%)
HSVhsv(249, 12%, 22%)
CMYKcmyk(10.5%, 12.3%, 0%, 77.6%)
CIE-LABlab(21.13, 2.13, -4.26)
CIE-LCHlch(21.13, 4.76, 296.61°)
OKLaboklab(32.09% 0.0047 -0.0114)
OKLCHoklch(32.09% 0.012 292.2)
XYZxyz(3.2442, 3.2804, 4.3324)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333239 #383932
analogous
#323439 #333239 #363239
triadic
#333239 #393332 #323933
tetradic
#333239 #393234 #383932 #323936
square
#333239 #393234 #383932 #323936
split-complementary
#333239 #393632 #343932
monochromatic
#0F0E10 #161518 #333239 #504F5A #6D6B7A

Accessibility & contrast

On white

12.68
#333239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#333239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333239
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333239#FFFFFF#000000##FFFFFF
##3332391.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#313339
Tritanopia (blue-blind)
#323334
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #333239;
/* rgb */ color: rgb(51, 50, 57);
/* oklch */ color: oklch(32.1% 0.012 292.2);
Tailwind
colors: {
  custom: {
    50: '#6a696f',
    500: '#333239',
    950: '#000000',
  },
}
SCSS
$custom: #333239;
$custom-light: #6a696f;
$custom-dark: #000000;
JSON
{
  "hex": "#333239",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 248.571,
    "s": 6.542,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.01236,
    "h": 292.2
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#333239
secondary
#67685F
accent
#B078A8
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #333239

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

Preview Lab → · Contrast checker → · Palette generator →

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