#3A5852#3A5852

#3A5852 is a dark, muted teal. Relative luminance 0.085; OKLCH L 43.5% C 0.037 H 180.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3A5852
RGBrgb(58, 88, 82)
HSLhsl(168, 21%, 29%)
HSVhsv(168, 34%, 35%)
CMYKcmyk(34.1%, 0%, 6.8%, 65.5%)
CIE-LABlab(34.98, -12.61, -0.07)
CIE-LCHlch(34.98, 12.61, 180.31°)
OKLaboklab(43.48% -0.037 -0.0004)
OKLCHoklch(43.48% 0.037 180.6)
XYZxyz(6.7571, 8.4878, 9.2633)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5852 #583A40
analogous
#3A5843 #3A5852 #3A4F58
triadic
#3A5852 #523A58 #58523A
tetradic
#3A5852 #433A58 #583A40 #4F583A
square
#3A5852 #433A58 #583A40 #4F583A
split-complementary
#3A5852 #583A4F #58433A
monochromatic
#0C1211 #223330 #3A5852 #527D74 #6D9F95

Accessibility & contrast

On white

7.78
#3A5852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3A5852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5852
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5852#FFFFFF#000000##FFFFFF
##3A58521.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555552
Deuteranopia (green-blind)
#505153
Tritanopia (blue-blind)
#315956
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a5852;
/* rgb */ color: rgb(58, 88, 82);
/* oklch */ color: oklch(43.5% 0.037 180.6);
Tailwind
colors: {
  custom: {
    50: '#718782',
    500: '#3a5852',
    950: '#000000',
  },
}
SCSS
$custom: #3a5852;
$custom-light: #718782;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5852",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 82
  },
  "hsl": {
    "h": 168,
    "s": 20.548,
    "l": 28.627
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.037,
    "h": 180.6
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#3A5852
secondary
#88666D
accent
#6B7BBD
background
#F6F8F7
surface
#ECEFEE
border
#C7CAC9
text
#080B0A
muted
#7B7C7C

Preview Lab

Preview with #3A5852

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

Preview Lab → · Contrast checker → · Palette generator →

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