#2A4239#2A4239

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

Color values

HEX#2A4239
RGBrgb(42, 66, 57)
HSLhsl(158, 22%, 21%)
HSVhsv(158, 36%, 26%)
CMYKcmyk(36.4%, 0%, 13.6%, 74.1%)
CIE-LABlab(25.81, -11.68, 2.53)
CIE-LCHlch(25.81, 11.95, 167.79°)
OKLaboklab(35.62% -0.0332 0.0065)
OKLCHoklch(35.62% 0.034 168.9)
XYZxyz(3.6413, 4.6839, 4.5823)
Luminance0.0468 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4239 #422A33
analogous
#2A422D #2A4239 #2A3F42
triadic
#2A4239 #392A42 #42392A
tetradic
#2A4239 #2D2A42 #422A33 #3F422A
square
#2A4239 #2D2A42 #422A33 #3F422A
split-complementary
#2A4239 #422A3F #422D2A
monochromatic
#0C1310 #121D19 #2A4239 #426759 #5A8D7A

Accessibility & contrast

On white

10.84
#2A4239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A4239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4239
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4239#FFFFFF#000000##FFFFFF
##2A42391.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4239;
/* rgb */ color: rgb(42, 66, 57);
/* oklch */ color: oklch(35.6% 0.034 168.9);
Tailwind
colors: {
  custom: {
    50: '#64766f',
    500: '#2a4239',
    950: '#000000',
  },
}
SCSS
$custom: #2a4239;
$custom-light: #64766f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4239",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 157.5,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35621,
    "c": 0.03383,
    "h": 168.9
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#2A4239
secondary
#735460
accent
#6989BF
background
#F6F7F6
surface
#EBEDEC
border
#C6C8C7
text
#050807
muted
#7A7B7A

Preview Lab

Preview with #2A4239

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

Preview Lab → · Contrast checker → · Palette generator →

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