#2A4238#2A4238

#2A4238 is a dark, muted teal. Relative luminance 0.047; OKLCH L 35.6% C 0.035 H 166.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2A4238
RGBrgb(42, 66, 56)
HSLhsl(155, 22%, 21%)
HSVhsv(155, 36%, 26%)
CMYKcmyk(36.4%, 0%, 15.2%, 74.1%)
CIE-LABlab(25.79, -11.93, 3.14)
CIE-LCHlch(25.79, 12.34, 165.26°)
OKLaboklab(35.59% -0.0337 0.0081)
OKLCHoklch(35.59% 0.035 166.5)
XYZxyz(3.6166, 4.6740, 4.4522)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4238 #422A34
analogous
#2A422C #2A4238 #2A4042
triadic
#2A4238 #382A42 #42382A
tetradic
#2A4238 #2C2A42 #422A34 #40422A
square
#2A4238 #2C2A42 #422A34 #40422A
split-complementary
#2A4238 #422A40 #422C2A
monochromatic
#0C1310 #121D18 #2A4238 #426758 #5A8D77

Accessibility & contrast

On white

10.85
#2A4238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A4238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4238
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4238#FFFFFF#000000##FFFFFF
##2A42381.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F38
Deuteranopia (green-blind)
#3D3C39
Tritanopia (blue-blind)
#24423F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a4238;
/* rgb */ color: rgb(42, 66, 56);
/* oklch */ color: oklch(35.6% 0.035 166.5);
Tailwind
colors: {
  custom: {
    50: '#64766e',
    500: '#2a4238',
    950: '#000000',
  },
}
SCSS
$custom: #2a4238;
$custom-light: #64766e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4238",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 155,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35588,
    "c": 0.03469,
    "h": 166.5
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#2A4238
secondary
#735461
accent
#698DBF
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#050807
muted
#7A7B7A

Preview Lab

Preview with #2A4238

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

Preview Lab → · Contrast checker → · Palette generator →

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