#343A42#343A42

#343A42 is a dark, near-neutral cyan. Relative luminance 0.042; OKLCH L 34.6% C 0.016 H 255.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#343A42
RGBrgb(52, 58, 66)
HSLhsl(214, 12%, 23%)
HSVhsv(214, 21%, 26%)
CMYKcmyk(21.2%, 12.1%, 0%, 74.1%)
CIE-LABlab(24.16, -0.46, -5.79)
CIE-LCHlch(24.16, 5.80, 265.44°)
OKLaboklab(34.6% -0.004 -0.0157)
OKLCHoklch(34.6% 0.016 255.6)
XYZxyz(3.9124, 4.1494, 5.7480)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A42 #423C34
analogous
#344142 #343A42 #353442
triadic
#343A42 #42343A #3A4234
tetradic
#343A42 #423441 #423C34 #344235
square
#343A42 #423441 #423C34 #344235
split-complementary
#343A42 #423534 #414234
monochromatic
#0D0F11 #191C20 #343A42 #4F5864 #6A7686

Accessibility & contrast

On white

11.48
#343A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343A42
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A42#FFFFFF#000000##FFFFFF
##343A421.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A42
Deuteranopia (green-blind)
#363942
Tritanopia (blue-blind)
#303C3D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #343a42;
/* rgb */ color: rgb(52, 58, 66);
/* oklch */ color: oklch(34.6% 0.016 255.6);
Tailwind
colors: {
  custom: {
    50: '#6b7076',
    500: '#343a42',
    950: '#000000',
  },
}
SCSS
$custom: #343a42;
$custom-light: #6b7076;
$custom-dark: #000000;
JSON
{
  "hex": "#343a42",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 214.286,
    "s": 11.864,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.01621,
    "h": 255.6
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#343A42
secondary
#726A60
accent
#9973B5
background
#F6F6F7
surface
#EBECED
border
#C6C7C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #343A42

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

Preview Lab → · Contrast checker → · Palette generator →

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