#343440#343440

#343440 is a dark, muted blue. Relative luminance 0.036; OKLCH L 33.0% C 0.021 H 285.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#343440
RGBrgb(52, 52, 64)
HSLhsl(240, 10%, 23%)
HSVhsv(240, 19%, 25%)
CMYKcmyk(18.8%, 18.8%, 0%, 74.9%)
CIE-LABlab(22.15, 3.01, -7.47)
CIE-LCHlch(22.15, 8.06, 291.97°)
OKLaboklab(33% 0.0055 -0.0203)
OKLCHoklch(33% 0.021 285.2)
XYZxyz(3.5694, 3.5562, 5.3479)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343440 #404034
analogous
#343A40 #343440 #3A3440
triadic
#343440 #403434 #344034
tetradic
#343440 #40343A #404034 #34403A
square
#343440 #40343A #404034 #34403A
split-complementary
#343440 #403A34 #3A4034
monochromatic
#0E0E11 #19191E #343440 #4F4F62 #6B6B84

Accessibility & contrast

On white

12.27
#343440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#343440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343440
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343440#FFFFFF#000000##FFFFFF
##3434401.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313541
Deuteranopia (green-blind)
#313540
Tritanopia (blue-blind)
#323638
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #343440;
/* rgb */ color: rgb(52, 52, 64);
/* oklch */ color: oklch(33.0% 0.021 285.2);
Tailwind
colors: {
  custom: {
    50: '#6b6b74',
    500: '#343440',
    950: '#000000',
  },
}
SCSS
$custom: #343440;
$custom-light: #6b6b74;
$custom-dark: #000000;
JSON
{
  "hex": "#343440",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 64
  },
  "hsl": {
    "h": 240,
    "s": 10.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32996,
    "c": 0.02105,
    "h": 285.2
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#343440
secondary
#6F6F60
accent
#B375B3
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #343440

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

Preview Lab → · Contrast checker → · Palette generator →

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