#335752#335752

#335752 is a dark, muted teal. Relative luminance 0.081; OKLCH L 42.8% C 0.043 H 184.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#335752
RGBrgb(51, 87, 82)
HSLhsl(172, 26%, 27%)
HSVhsv(172, 41%, 34%)
CMYKcmyk(41.4%, 0%, 5.7%, 65.9%)
CIE-LABlab(34.25, -14.29, -1.18)
CIE-LCHlch(34.25, 14.34, 184.73°)
OKLaboklab(42.79% -0.0424 -0.0034)
OKLCHoklch(42.79% 0.043 184.6)
XYZxyz(6.2959, 8.1290, 9.2183)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335752 #573338
analogous
#335740 #335752 #334A57
triadic
#335752 #523357 #575233
tetradic
#335752 #403357 #573338 #4A5733
square
#335752 #403357 #573338 #4A5733
split-complementary
#335752 #57334A #574033
monochromatic
#0B1312 #1C302E #335752 #4A7E76 #62A39A

Accessibility & contrast

On white

8.00
#335752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335752
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335752#FFFFFF#000000##FFFFFF
##3357521.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545352
Deuteranopia (green-blind)
#4D4F53
Tritanopia (blue-blind)
#265855
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335752;
/* rgb */ color: rgb(51, 87, 82);
/* oklch */ color: oklch(42.8% 0.043 184.6);
Tailwind
colors: {
  custom: {
    50: '#6d8682',
    500: '#335752',
    950: '#000000',
  },
}
SCSS
$custom: #335752;
$custom-light: #6d8682;
$custom-dark: #000000;
JSON
{
  "hex": "#335752",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 82
  },
  "hsl": {
    "h": 171.667,
    "s": 26.087,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4279,
    "c": 0.04253,
    "h": 184.6
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#335752
secondary
#885E64
accent
#6572C2
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #335752

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

Preview Lab → · Contrast checker → · Palette generator →

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