#2A3A38#2A3A38

#2A3A38 is a dark, muted teal. Relative luminance 0.038; OKLCH L 33.4% C 0.021 H 186.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2A3A38
RGBrgb(42, 58, 56)
HSLhsl(173, 16%, 20%)
HSVhsv(173, 28%, 23%)
CMYKcmyk(27.6%, 0%, 3.4%, 77.3%)
CIE-LABlab(23.01, -7.01, -0.88)
CIE-LCHlch(23.01, 7.07, 187.19°)
OKLaboklab(33.37% -0.021 -0.0025)
OKLCHoklch(33.37% 0.021 186.7)
XYZxyz(3.1815, 3.8037, 4.3072)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A38 #3A2A2C
analogous
#2A3A30 #2A3A38 #2A343A
triadic
#2A3A38 #382A3A #3A382A
tetradic
#2A3A38 #302A3A #3A2A2C #343A2A
square
#2A3A38 #302A3A #3A2A2C #343A2A
split-complementary
#2A3A38 #3A2A34 #3A302A
monochromatic
#0D1211 #101716 #2A3A38 #445D5A #5D817D

Accessibility & contrast

On white

11.93
#2A3A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2A3A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A38
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A38#FFFFFF#000000##FFFFFF
##2A3A381.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383838
Deuteranopia (green-blind)
#353638
Tritanopia (blue-blind)
#253B39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3a38;
/* rgb */ color: rgb(42, 58, 56);
/* oklch */ color: oklch(33.4% 0.021 186.7);
Tailwind
colors: {
  custom: {
    50: '#64706e',
    500: '#2a3a38',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a38;
$custom-light: #64706e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a38",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 56
  },
  "hsl": {
    "h": 172.5,
    "s": 16,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33369,
    "c": 0.02117,
    "h": 186.7
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#2A3A38
secondary
#6B5558
accent
#6F78B9
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050707
muted
#797A7A

Preview Lab

Preview with #2A3A38

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

Preview Lab → · Contrast checker → · Palette generator →

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