#335756#335756

#335756 is a dark, muted teal. Relative luminance 0.082; OKLCH L 42.9% C 0.042 H 193.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#335756
RGBrgb(51, 87, 86)
HSLhsl(178, 26%, 27%)
HSVhsv(178, 41%, 34%)
CMYKcmyk(41.4%, 0%, 1.1%, 65.9%)
CIE-LABlab(34.38, -13.18, -3.51)
CIE-LCHlch(34.38, 13.64, 194.90°)
OKLaboklab(42.94% -0.0404 -0.0097)
OKLCHoklch(42.94% 0.042 193.4)
XYZxyz(6.4525, 8.1916, 10.0434)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335756 #573334
analogous
#335744 #335756 #334657
triadic
#335756 #563357 #575633
tetradic
#335756 #443357 #573334 #465733
square
#335756 #443357 #573334 #465733
split-complementary
#335756 #573346 #574433
monochromatic
#0B1313 #1C3030 #335756 #4A7E7C #62A3A1

Accessibility & contrast

On white

7.96
#335756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#335756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335756
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335756#FFFFFF#000000##FFFFFF
##3357561.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535456
Deuteranopia (green-blind)
#4C4F56
Tritanopia (blue-blind)
#245957
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335756;
/* rgb */ color: rgb(51, 87, 86);
/* oklch */ color: oklch(42.9% 0.042 193.4);
Tailwind
colors: {
  custom: {
    50: '#6d8685',
    500: '#335756',
    950: '#000000',
  },
}
SCSS
$custom: #335756;
$custom-light: #6d8685;
$custom-dark: #000000;
JSON
{
  "hex": "#335756",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 86
  },
  "hsl": {
    "h": 178.333,
    "s": 26.087,
    "l": 27.059
  },
  "oklch": {
    "l": 0.42936,
    "c": 0.04158,
    "h": 193.4
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#335756
secondary
#885E5F
accent
#6568C2
background
#F6F8F8
surface
#ECEFEF
border
#C7CACA
text
#070B0B
muted
#7A7C7C

Preview Lab

Preview with #335756

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

Preview Lab → · Contrast checker → · Palette generator →

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