#3A5244#3A5244

#3A5244 is a dark, muted green. Relative luminance 0.074; OKLCH L 41.4% C 0.038 H 158.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3A5244
RGBrgb(58, 82, 68)
HSLhsl(145, 17%, 27%)
HSVhsv(145, 29%, 32%)
CMYKcmyk(29.3%, 0%, 17.1%, 67.8%)
CIE-LABlab(32.59, -12.55, 5.29)
CIE-LCHlch(32.59, 13.62, 157.12°)
OKLaboklab(41.44% -0.035 0.0137)
OKLCHoklch(41.44% 0.038 158.7)
XYZxyz(5.8053, 7.3512, 6.5808)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5244 #523A48
analogous
#3C523A #3A5244 #3A5250
triadic
#3A5244 #443A52 #52443A
tetradic
#3A5244 #3A3C52 #523A48 #52503A
square
#3A5244 #3A3C52 #523A48 #52503A
split-complementary
#3A5244 #503A52 #523A3C
monochromatic
#0D120F #212E26 #3A5244 #537662 #6E9880

Accessibility & contrast

On white

8.50
#3A5244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3A5244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5244
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5244#FFFFFF#000000##FFFFFF
##3A52441.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E43
Deuteranopia (green-blind)
#4D4C45
Tritanopia (blue-blind)
#36524E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a5244;
/* rgb */ color: rgb(58, 82, 68);
/* oklch */ color: oklch(41.4% 0.038 158.7);
Tailwind
colors: {
  custom: {
    50: '#718277',
    500: '#3a5244',
    950: '#000000',
  },
}
SCSS
$custom: #3a5244;
$custom-light: #718277;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5244",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 68
  },
  "hsl": {
    "h": 145,
    "s": 17.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41437,
    "c": 0.03757,
    "h": 158.7
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#3A5244
secondary
#826676
accent
#6E9ABA
background
#F6F7F7
surface
#ECEEED
border
#C7C9C8
text
#070A08
muted
#7A7C7B

Preview Lab

Preview with #3A5244

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

Preview Lab → · Contrast checker → · Palette generator →

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