#2A3836#2A3836

#2A3836 is a dark, near-neutral teal. Relative luminance 0.036; OKLCH L 32.7% C 0.019 H 185.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2A3836
RGBrgb(42, 56, 54)
HSLhsl(171, 14%, 19%)
HSVhsv(171, 25%, 22%)
CMYKcmyk(25%, 0%, 3.6%, 78%)
CIE-LABlab(22.26, -6.27, -0.65)
CIE-LCHlch(22.26, 6.31, 185.90°)
OKLaboklab(32.75% -0.0187 -0.0018)
OKLCHoklch(32.75% 0.019 185.6)
XYZxyz(3.0347, 3.5868, 4.0217)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3836 #382A2C
analogous
#2A382F #2A3836 #2A3338
triadic
#2A3836 #362A38 #38362A
tetradic
#2A3836 #2F2A38 #382A2C #33382A
square
#2A3836 #2F2A38 #382A2C #33382A
split-complementary
#2A3836 #382A33 #382F2A
monochromatic
#0D1111 #101514 #2A3836 #445B58 #5E7E79

Accessibility & contrast

On white

12.23
#2A3836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2A3836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3836
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3836#FFFFFF#000000##FFFFFF
##2A38361.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373636
Deuteranopia (green-blind)
#343436
Tritanopia (blue-blind)
#263937
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3836;
/* rgb */ color: rgb(42, 56, 54);
/* oklch */ color: oklch(32.7% 0.019 185.6);
Tailwind
colors: {
  custom: {
    50: '#636e6c',
    500: '#2a3836',
    950: '#000000',
  },
}
SCSS
$custom: #2a3836;
$custom-light: #636e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3836",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 54
  },
  "hsl": {
    "h": 171.429,
    "s": 14.286,
    "l": 19.216
  },
  "oklch": {
    "l": 0.32745,
    "c": 0.01883,
    "h": 185.6
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#2A3836
secondary
#685558
accent
#717BB7
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050707
muted
#797A7A

Preview Lab

Preview with #2A3836

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

Preview Lab → · Contrast checker → · Palette generator →

#2A3836 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva