#2A4640#2A4640

#2A4640 is a dark, muted teal. Relative luminance 0.052; OKLCH L 37.0% C 0.036 H 179.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2A4640
RGBrgb(42, 70, 64)
HSLhsl(167, 25%, 22%)
HSVhsv(167, 40%, 27%)
CMYKcmyk(40%, 0%, 8.6%, 72.5%)
CIE-LABlab(27.41, -12.20, 0.27)
CIE-LCHlch(27.41, 12.21, 178.74°)
OKLaboklab(36.98% -0.0356 0.0005)
OKLCHoklch(36.98% 0.036 179.2)
XYZxyz(4.0701, 5.2425, 5.6469)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4640 #462A30
analogous
#2A4632 #2A4640 #2A3E46
triadic
#2A4640 #402A46 #46402A
tetradic
#2A4640 #322A46 #462A30 #3E462A
square
#2A4640 #322A46 #462A30 #3E462A
split-complementary
#2A4640 #462A3E #46322A
monochromatic
#0B1311 #13201D #2A4640 #416C63 #589386

Accessibility & contrast

On white

10.25
#2A4640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A4640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4640
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4640#FFFFFF#000000##FFFFFF
##2A46401.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#3F3F40
Tritanopia (blue-blind)
#214744
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a4640;
/* rgb */ color: rgb(42, 70, 64);
/* oklch */ color: oklch(37.0% 0.036 179.2);
Tailwind
colors: {
  custom: {
    50: '#657974',
    500: '#2a4640',
    950: '#000000',
  },
}
SCSS
$custom: #2a4640;
$custom-light: #657974;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4640",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 64
  },
  "hsl": {
    "h": 167.143,
    "s": 25,
    "l": 21.961
  },
  "oklch": {
    "l": 0.36977,
    "c": 0.03561,
    "h": 179.2
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#2A4640
secondary
#78545C
accent
#667AC1
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#050908
muted
#7A7B7B

Preview Lab

Preview with #2A4640

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

Preview Lab → · Contrast checker → · Palette generator →

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