#2A4038#2A4038

#2A4038 is a dark, muted teal. Relative luminance 0.044; OKLCH L 35.0% C 0.031 H 169.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2A4038
RGBrgb(42, 64, 56)
HSLhsl(158, 21%, 21%)
HSVhsv(158, 34%, 25%)
CMYKcmyk(34.4%, 0%, 12.5%, 74.9%)
CIE-LABlab(25.09, -10.73, 2.14)
CIE-LCHlch(25.09, 10.95, 168.73°)
OKLaboklab(35.03% -0.0306 0.0055)
OKLCHoklch(35.03% 0.031 169.8)
XYZxyz(3.5018, 4.4444, 4.4140)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4038 #402A32
analogous
#2A402D #2A4038 #2A3D40
triadic
#2A4038 #382A40 #40382A
tetradic
#2A4038 #2D2A40 #402A32 #3D402A
square
#2A4038 #2D2A40 #402A32 #3D402A
split-complementary
#2A4038 #402A3D #402D2A
monochromatic
#0C1210 #121B18 #2A4038 #426558 #5A8A79

Accessibility & contrast

On white

11.12
#2A4038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A4038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4038
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4038#FFFFFF#000000##FFFFFF
##2A40381.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D38
Deuteranopia (green-blind)
#3B3A39
Tritanopia (blue-blind)
#24403E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a4038;
/* rgb */ color: rgb(42, 64, 56);
/* oklch */ color: oklch(35.0% 0.031 169.8);
Tailwind
colors: {
  custom: {
    50: '#64756e',
    500: '#2a4038',
    950: '#000000',
  },
}
SCSS
$custom: #2a4038;
$custom-light: #64756e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4038",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 158.182,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35029,
    "c": 0.03111,
    "h": 169.8
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#2A4038
secondary
#71555F
accent
#6A89BD
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#050807
muted
#7A7B7A

Preview Lab

Preview with #2A4038

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

Preview Lab → · Contrast checker → · Palette generator →

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