#335154#335154

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

Color values

HEX#335154
RGBrgb(51, 81, 84)
HSLhsl(185, 24%, 26%)
HSVhsv(185, 39%, 33%)
CMYKcmyk(39.3%, 3.6%, 0%, 67.1%)
CIE-LABlab(32.32, -10.23, -5.30)
CIE-LCHlch(32.32, 11.52, 207.39°)
OKLaboklab(41.27% -0.0329 -0.0145)
OKLCHoklch(41.27% 0.036 203.8)
XYZxyz(5.9073, 7.2284, 9.4697)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335154 #543633
analogous
#335447 #335154 #334154
triadic
#335154 #543351 #515433
tetradic
#335154 #473354 #543633 #415433
square
#335154 #473354 #543633 #415433
split-complementary
#335154 #543341 #544733
monochromatic
#0C1213 #1C2C2E #335154 #4A767A #629AA0

Accessibility & contrast

On white

8.59
#335154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335154
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335154#FFFFFF#000000##FFFFFF
##3351541.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335154;
/* rgb */ color: rgb(51, 81, 84);
/* oklch */ color: oklch(41.3% 0.036 203.8);
Tailwind
colors: {
  custom: {
    50: '#6c8284',
    500: '#335154',
    950: '#000000',
  },
}
SCSS
$custom: #335154;
$custom-light: #6c8284;
$custom-dark: #000000;
JSON
{
  "hex": "#335154",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 84
  },
  "hsl": {
    "h": 185.455,
    "s": 24.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.41267,
    "c": 0.03593,
    "h": 203.8
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#335154
secondary
#85625E
accent
#6F67C1
background
#F6F7F8
surface
#EBEEEF
border
#C6C9CA
text
#070A0A
muted
#7A7C7C

Preview Lab

Preview with #335154

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

Preview Lab → · Contrast checker → · Palette generator →

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