#335B4E#335B4E

#335B4E is a dark, muted teal. Relative luminance 0.087; OKLCH L 43.7% C 0.051 H 171.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#335B4E
RGBrgb(51, 91, 78)
HSLhsl(161, 28%, 28%)
HSVhsv(161, 44%, 36%)
CMYKcmyk(44%, 0%, 14.3%, 64.3%)
CIE-LABlab(35.47, -17.59, 3.09)
CIE-LCHlch(35.47, 17.86, 170.02°)
OKLaboklab(43.73% -0.05 0.0079)
OKLCHoklch(43.73% 0.051 171)
XYZxyz(6.4809, 8.7356, 8.5509)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B4E #5B3340
analogous
#335B3A #335B4E #33545B
triadic
#335B4E #4E335B #5B4E33
tetradic
#335B4E #3A335B #5B3340 #545B33
square
#335B4E #3A335B #5B3340 #545B33
split-complementary
#335B4E #5B3354 #5B3A33
monochromatic
#0B1411 #1D342C #335B4E #498270 #62A790

Accessibility & contrast

On white

7.64
#335B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#335B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B4E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B4E#FFFFFF#000000##FFFFFF
##335B4E1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59564D
Deuteranopia (green-blind)
#52514F
Tritanopia (blue-blind)
#275C57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335b4e;
/* rgb */ color: rgb(51, 91, 78);
/* oklch */ color: oklch(43.7% 0.051 171.0);
Tailwind
colors: {
  custom: {
    50: '#6d897f',
    500: '#335b4e',
    950: '#000000',
  },
}
SCSS
$custom: #335b4e;
$custom-light: #6d897f;
$custom-dark: #000000;
JSON
{
  "hex": "#335b4e",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 78
  },
  "hsl": {
    "h": 160.5,
    "s": 28.169,
    "l": 27.843
  },
  "oklch": {
    "l": 0.43733,
    "c": 0.05062,
    "h": 171
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#335B4E
secondary
#8C5E6D
accent
#6383C4
background
#F6F8F7
surface
#ECF0EE
border
#C7CBC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #335B4E

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

Preview Lab → · Contrast checker → · Palette generator →

#335B4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva