#335754#335754

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

Color values

HEX#335754
RGBrgb(51, 87, 84)
HSLhsl(175, 26%, 27%)
HSVhsv(175, 41%, 34%)
CMYKcmyk(41.4%, 0%, 3.4%, 65.9%)
CIE-LABlab(34.31, -13.74, -2.35)
CIE-LCHlch(34.31, 13.94, 189.69°)
OKLaboklab(42.86% -0.0414 -0.0065)
OKLCHoklch(42.86% 0.042 189)
XYZxyz(6.3731, 8.1599, 9.6250)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335754 #573336
analogous
#335742 #335754 #334857
triadic
#335754 #543357 #575433
tetradic
#335754 #423357 #573336 #485733
square
#335754 #423357 #573336 #485733
split-complementary
#335754 #573348 #574233
monochromatic
#0B1313 #1C302F #335754 #4A7E79 #62A39D

Accessibility & contrast

On white

7.98
#335754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#335754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335754
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335754#FFFFFF#000000##FFFFFF
##3357541.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535354
Deuteranopia (green-blind)
#4D4F54
Tritanopia (blue-blind)
#255956
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335754;
/* rgb */ color: rgb(51, 87, 84);
/* oklch */ color: oklch(42.9% 0.042 189.0);
Tailwind
colors: {
  custom: {
    50: '#6d8684',
    500: '#335754',
    950: '#000000',
  },
}
SCSS
$custom: #335754;
$custom-light: #6d8684;
$custom-dark: #000000;
JSON
{
  "hex": "#335754",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 84
  },
  "hsl": {
    "h": 175,
    "s": 26.087,
    "l": 27.059
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.04192,
    "h": 189
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#335754
secondary
#885E61
accent
#656DC2
background
#F6F8F8
surface
#EBEFEF
border
#C6CACA
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #335754

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

Preview Lab → · Contrast checker → · Palette generator →

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