#335155#335155

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

Color values

HEX#335155
RGBrgb(51, 81, 85)
HSLhsl(187, 25%, 27%)
HSVhsv(187, 40%, 33%)
CMYKcmyk(40%, 4.7%, 0%, 66.7%)
CIE-LABlab(32.36, -9.94, -5.88)
CIE-LCHlch(32.36, 11.55, 210.62°)
OKLaboklab(41.31% -0.0324 -0.0161)
OKLCHoklch(41.31% 0.036 206.5)
XYZxyz(5.9468, 7.2442, 9.6775)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335155 #553733
analogous
#335548 #335155 #334055
triadic
#335155 #553351 #515533
tetradic
#335155 #483355 #553733 #405533
square
#335155 #483355 #553733 #405533
split-complementary
#335155 #553340 #554833
monochromatic
#0B1213 #1C2D2F #335155 #4A757B #6299A1

Accessibility & contrast

On white

8.57
#335155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#335155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335155
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335155#FFFFFF#000000##FFFFFF
##3351551.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F55
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#265352
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335155;
/* rgb */ color: rgb(51, 81, 85);
/* oklch */ color: oklch(41.3% 0.036 206.5);
Tailwind
colors: {
  custom: {
    50: '#6c8284',
    500: '#335155',
    950: '#000000',
  },
}
SCSS
$custom: #335155;
$custom-light: #6c8284;
$custom-dark: #000000;
JSON
{
  "hex": "#335155",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 85
  },
  "hsl": {
    "h": 187.059,
    "s": 25,
    "l": 26.667
  },
  "oklch": {
    "l": 0.41307,
    "c": 0.03619,
    "h": 206.5
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#335155
secondary
#86635E
accent
#7166C1
background
#F6F7F8
surface
#EBEEEF
border
#C6C9CA
text
#070A0B
muted
#7A7C7C

Preview Lab

Preview with #335155

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

Preview Lab → · Contrast checker → · Palette generator →

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