#335751#335751

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

Color values

HEX#335751
RGBrgb(51, 87, 81)
HSLhsl(170, 26%, 27%)
HSVhsv(170, 41%, 34%)
CMYKcmyk(41.4%, 0%, 6.9%, 65.9%)
CIE-LABlab(34.22, -14.56, -0.60)
CIE-LCHlch(34.22, 14.57, 182.36°)
OKLaboklab(42.75% -0.0429 -0.0018)
OKLCHoklch(42.75% 0.043 182.5)
XYZxyz(6.2581, 8.1139, 9.0194)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335751 #573339
analogous
#33573F #335751 #334B57
triadic
#335751 #513357 #575133
tetradic
#335751 #3F3357 #573339 #4B5733
square
#335751 #3F3357 #573339 #4B5733
split-complementary
#335751 #57334B #573F33
monochromatic
#0B1312 #1C302D #335751 #4A7E75 #62A398

Accessibility & contrast

On white

8.01
#335751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#335751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335751
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335751#FFFFFF#000000##FFFFFF
##3357511.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545351
Deuteranopia (green-blind)
#4E4F52
Tritanopia (blue-blind)
#265855
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #335751;
/* rgb */ color: rgb(51, 87, 81);
/* oklch */ color: oklch(42.8% 0.043 182.5);
Tailwind
colors: {
  custom: {
    50: '#6d8681',
    500: '#335751',
    950: '#000000',
  },
}
SCSS
$custom: #335751;
$custom-light: #6d8681;
$custom-dark: #000000;
JSON
{
  "hex": "#335751",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 81
  },
  "hsl": {
    "h": 170,
    "s": 26.087,
    "l": 27.059
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.04293,
    "h": 182.5
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#335751
secondary
#885E65
accent
#6575C2
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #335751

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

Preview Lab → · Contrast checker → · Palette generator →

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