#335151#335151

#335151 is a dark, muted teal. Relative luminance 0.072; OKLCH L 41.2% C 0.036 H 195.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#335151
RGBrgb(51, 81, 81)
HSLhsl(180, 23%, 26%)
HSVhsv(180, 37%, 32%)
CMYKcmyk(37%, 0%, 0%, 68.2%)
CIE-LABlab(32.22, -11.08, -3.54)
CIE-LCHlch(32.22, 11.63, 197.75°)
OKLaboklab(41.15% -0.0343 -0.0097)
OKLCHoklch(41.15% 0.036 195.9)
XYZxyz(5.7923, 7.1824, 8.8641)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335151 #513333
analogous
#335142 #335151 #334251
triadic
#335151 #513351 #515133
tetradic
#335151 #423351 #513333 #425133
square
#335151 #423351 #513333 #425133
split-complementary
#335151 #513342 #514233
monochromatic
#0C1313 #1B2B2B #335151 #4B7777 #629C9C

Accessibility & contrast

On white

8.62
#335151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#335151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335151
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335151#FFFFFF#000000##FFFFFF
##3351511.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E51
Deuteranopia (green-blind)
#484A51
Tritanopia (blue-blind)
#275351
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335151;
/* rgb */ color: rgb(51, 81, 81);
/* oklch */ color: oklch(41.2% 0.036 195.9);
Tailwind
colors: {
  custom: {
    50: '#6c8281',
    500: '#335151',
    950: '#000000',
  },
}
SCSS
$custom: #335151;
$custom-light: #6c8281;
$custom-dark: #000000;
JSON
{
  "hex": "#335151",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 180,
    "s": 22.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.03566,
    "h": 195.9
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#335151
secondary
#825E5E
accent
#6969BF
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#070A0A
muted
#7A7C7C

Preview Lab

Preview with #335151

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

Preview Lab → · Contrast checker → · Palette generator →

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