#323840#323840

#323840 is a dark, near-neutral cyan. Relative luminance 0.039; OKLCH L 33.8% C 0.016 H 255.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#323840
RGBrgb(50, 56, 64)
HSLhsl(214, 12%, 22%)
HSVhsv(214, 22%, 25%)
CMYKcmyk(21.9%, 12.5%, 0%, 74.9%)
CIE-LABlab(23.26, -0.46, -5.82)
CIE-LCHlch(23.26, 5.83, 265.50°)
OKLaboklab(33.82% -0.004 -0.0158)
OKLCHoklch(33.82% 0.016 255.6)
XYZxyz(3.6547, 3.8765, 5.4052)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323840 #403A32
analogous
#323F40 #323840 #333240
triadic
#323840 #403238 #384032
tetradic
#323840 #40323F #403A32 #324033
square
#323840 #40323F #403A32 #324033
split-complementary
#323840 #403332 #3F4032
monochromatic
#0D0F11 #171A1E #323840 #4D5662 #687485

Accessibility & contrast

On white

11.83
#323840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323840
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323840#FFFFFF#000000##FFFFFF
##3238401.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353840
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#2E3A3B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #323840;
/* rgb */ color: rgb(50, 56, 64);
/* oklch */ color: oklch(33.8% 0.016 255.6);
Tailwind
colors: {
  custom: {
    50: '#6a6e74',
    500: '#323840',
    950: '#000000',
  },
}
SCSS
$custom: #323840;
$custom-light: #6a6e74;
$custom-dark: #000000;
JSON
{
  "hex": "#323840",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 214.286,
    "s": 12.281,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33822,
    "c": 0.0163,
    "h": 255.6
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#323840
secondary
#70685E
accent
#9973B5
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #323840

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

Preview Lab → · Contrast checker → · Palette generator →

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