#334B40#334B40

#334B40 is a dark, muted teal. Relative luminance 0.061; OKLCH L 38.9% C 0.035 H 164.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#334B40
RGBrgb(51, 75, 64)
HSLhsl(153, 19%, 25%)
HSVhsv(153, 32%, 29%)
CMYKcmyk(32%, 0%, 14.7%, 70.6%)
CIE-LABlab(29.68, -11.99, 3.61)
CIE-LCHlch(29.68, 12.52, 163.24°)
OKLaboklab(38.94% -0.0338 0.0093)
OKLCHoklch(38.94% 0.035 164.6)
XYZxyz(4.8064, 6.1059, 5.7748)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B40 #4B333E
analogous
#334B34 #334B40 #334A4B
triadic
#334B40 #40334B #4B4033
tetradic
#334B40 #34334B #4B333E #4A4B33
square
#334B40 #34334B #4B333E #4A4B33
split-complementary
#334B40 #4B334A #4B3433
monochromatic
#0C1210 #1A2721 #334B40 #4C6F5F #65947E

Accessibility & contrast

On white

9.45
#334B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#334B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334B40
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B40#FFFFFF#000000##FFFFFF
##334B401.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A483F
Deuteranopia (green-blind)
#464541
Tritanopia (blue-blind)
#2E4B48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334b40;
/* rgb */ color: rgb(51, 75, 64);
/* oklch */ color: oklch(38.9% 0.035 164.6);
Tailwind
colors: {
  custom: {
    50: '#6b7d74',
    500: '#334b40',
    950: '#000000',
  },
}
SCSS
$custom: #334b40;
$custom-light: #6b7d74;
$custom-dark: #000000;
JSON
{
  "hex": "#334b40",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 64
  },
  "hsl": {
    "h": 152.5,
    "s": 19.048,
    "l": 24.706
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.03507,
    "h": 164.6
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#334B40
secondary
#7B5E6C
accent
#6C91BC
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #334B40

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

Preview Lab → · Contrast checker → · Palette generator →

#334B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva