#3A5052#3A5052

#3A5052 is a dark, muted teal. Relative luminance 0.072; OKLCH L 41.4% C 0.027 H 203.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3A5052
RGBrgb(58, 80, 82)
HSLhsl(185, 17%, 27%)
HSVhsv(185, 29%, 32%)
CMYKcmyk(29.3%, 2.4%, 0%, 67.8%)
CIE-LABlab(32.36, -7.87, -3.92)
CIE-LCHlch(32.36, 8.79, 206.50°)
OKLaboklab(41.39% -0.025 -0.0107)
OKLCHoklch(41.39% 0.027 203.1)
XYZxyz(6.1361, 7.2458, 9.0563)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5052 #523C3A
analogous
#3A5248 #3A5052 #3A4452
triadic
#3A5052 #523A50 #50523A
tetradic
#3A5052 #483A52 #523C3A #44523A
square
#3A5052 #483A52 #523C3A #44523A
split-complementary
#3A5052 #523A44 #52483A
monochromatic
#0D1112 #212D2E #3A5052 #537376 #6E9598

Accessibility & contrast

On white

8.57
#3A5052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3A5052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A5052#FFFFFF#000000##FFFFFF
##3A50521.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)
#4D4E52
Deuteranopia (green-blind)
#484B52
Tritanopia (blue-blind)
#325251
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a5052;
/* rgb */ color: rgb(58, 80, 82);
/* oklch */ color: oklch(41.4% 0.027 203.1);
Tailwind
colors: {
  custom: {
    50: '#718182',
    500: '#3a5052',
    950: '#000000',
  },
}
SCSS
$custom: #3a5052;
$custom-light: #718182;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5052",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 82
  },
  "hsl": {
    "h": 185,
    "s": 17.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.02723,
    "h": 203.1
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#3A5052
secondary
#826866
accent
#746EBA
background
#F6F7F7
surface
#ECEEEE
border
#C7C9C9
text
#070A0A
muted
#7A7C7C

Preview Lab

Preview with #3A5052

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

Preview Lab → · Contrast checker → · Palette generator →

#3A5052 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva