#343A40#343A40

#343A40 is a dark, near-neutral cyan. Relative luminance 0.041; OKLCH L 34.5% C 0.013 H 248.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#343A40
RGBrgb(52, 58, 64)
HSLhsl(210, 10%, 23%)
HSVhsv(210, 19%, 25%)
CMYKcmyk(18.8%, 9.4%, 0%, 74.9%)
CIE-LABlab(24.08, -1.00, -4.56)
CIE-LCHlch(24.08, 4.67, 257.67°)
OKLaboklab(34.51% -0.0049 -0.0123)
OKLCHoklch(34.51% 0.013 248.2)
XYZxyz(3.8544, 4.1263, 5.4429)
Luminance0.0413 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A40 #403A34
analogous
#344040 #343A40 #343440
triadic
#343A40 #40343A #3A4034
tetradic
#343A40 #403440 #403A34 #344034
square
#343A40 #403440 #403A34 #344034
split-complementary
#343A40 #403434 #404034
monochromatic
#0E0F11 #191B1E #343A40 #4F5962 #6B7784

Accessibility & contrast

On white

11.51
#343A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#343A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A40
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A40#FFFFFF#000000##FFFFFF
##343A401.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#363940
Tritanopia (blue-blind)
#313B3C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #343a40;
/* rgb */ color: rgb(52, 58, 64);
/* oklch */ color: oklch(34.5% 0.013 248.2);
Tailwind
colors: {
  custom: {
    50: '#6b7074',
    500: '#343a40',
    950: '#000000',
  },
}
SCSS
$custom: #343a40;
$custom-light: #6b7074;
$custom-dark: #000000;
JSON
{
  "hex": "#343a40",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 64
  },
  "hsl": {
    "h": 210,
    "s": 10.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34514,
    "c": 0.01329,
    "h": 248.2
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#343A40
secondary
#6F6860
accent
#9475B3
background
#F6F6F7
surface
#EBECED
border
#C6C7C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #343A40

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

Preview Lab → · Contrast checker → · Palette generator →

#343A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva