#335D5F#335D5F

#335D5F is a dark, muted teal. Relative luminance 0.094; OKLCH L 44.9% C 0.047 H 199.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#335D5F
RGBrgb(51, 93, 95)
HSLhsl(183, 30%, 29%)
HSVhsv(183, 46%, 37%)
CMYKcmyk(46.3%, 2.1%, 0%, 62.7%)
CIE-LABlab(36.66, -14.04, -5.73)
CIE-LCHlch(36.66, 15.16, 202.21°)
OKLaboklab(44.87% -0.0444 -0.0158)
OKLCHoklch(44.87% 0.047 199.6)
XYZxyz(7.3444, 9.3582, 12.2435)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D5F #5F3533
analogous
#335F4B #335D5F #33475F
triadic
#335D5F #5F335D #5D5F33
tetradic
#335D5F #4B335F #5F3533 #475F33
square
#335D5F #4B335F #5F3533 #475F33
split-complementary
#335D5F #5F3347 #5F4B33
monochromatic
#0B1314 #1E3637 #335D5F #488487 #62A7AB

Accessibility & contrast

On white

7.31
#335D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#335D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D5F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D5F#FFFFFF#000000##FFFFFF
##335D5F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A5F
Deuteranopia (green-blind)
#50545F
Tritanopia (blue-blind)
#1E605D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #335d5f;
/* rgb */ color: rgb(51, 93, 95);
/* oklch */ color: oklch(44.9% 0.047 199.6);
Tailwind
colors: {
  custom: {
    50: '#6e8b8c',
    500: '#335d5f',
    950: '#000000',
  },
}
SCSS
$custom: #335d5f;
$custom-light: #6e8b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#335d5f",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 95
  },
  "hsl": {
    "h": 182.727,
    "s": 30.137,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.04709,
    "h": 199.6
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#335D5F
secondary
#90605E
accent
#6661C6
background
#F6F8F8
surface
#ECF0F0
border
#C7CBCB
text
#070C0C
muted
#7A7D7D

Preview Lab

Preview with #335D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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