#335656#335656

#335656 is a dark, muted teal. Relative luminance 0.080; OKLCH L 42.7% C 0.041 H 195.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#335656
RGBrgb(51, 86, 86)
HSLhsl(180, 26%, 27%)
HSVhsv(180, 41%, 34%)
CMYKcmyk(40.7%, 0%, 0%, 66.3%)
CIE-LABlab(34.05, -12.60, -4.00)
CIE-LCHlch(34.05, 13.22, 197.60°)
OKLaboklab(42.67% -0.039 -0.011)
OKLCHoklch(42.67% 0.041 195.7)
XYZxyz(6.3721, 8.0308, 10.0166)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335656 #563333
analogous
#335645 #335656 #334556
triadic
#335656 #563356 #565633
tetradic
#335656 #453356 #563333 #455633
square
#335656 #453356 #563333 #455633
split-complementary
#335656 #563345 #564533
monochromatic
#0B1313 #1C3030 #335656 #4A7C7C #62A2A2

Accessibility & contrast

On white

8.06
#335656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#335656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335656
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335656#FFFFFF#000000##FFFFFF
##3356561.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525356
Deuteranopia (green-blind)
#4B4E56
Tritanopia (blue-blind)
#245856
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #335656;
/* rgb */ color: rgb(51, 86, 86);
/* oklch */ color: oklch(42.7% 0.041 195.7);
Tailwind
colors: {
  custom: {
    50: '#6d8585',
    500: '#335656',
    950: '#000000',
  },
}
SCSS
$custom: #335656;
$custom-light: #6d8585;
$custom-dark: #000000;
JSON
{
  "hex": "#335656",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 86
  },
  "hsl": {
    "h": 180,
    "s": 25.547,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.04056,
    "h": 195.7
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#335656
secondary
#875E5E
accent
#6666C2
background
#F6F8F8
surface
#ECEFEF
border
#C7CACA
text
#070B0B
muted
#7A7C7C

Preview Lab

Preview with #335656

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

Preview Lab → · Contrast checker → · Palette generator →

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