#2F4641#2F4641

#2F4641 is a dark, muted teal. Relative luminance 0.054; OKLCH L 37.3% C 0.030 H 179.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2F4641
RGBrgb(47, 70, 65)
HSLhsl(167, 20%, 23%)
HSVhsv(167, 33%, 27%)
CMYKcmyk(32.9%, 0%, 7.1%, 72.5%)
CIE-LABlab(27.75, -10.21, 0.15)
CIE-LCHlch(27.75, 10.21, 179.17°)
OKLaboklab(37.34% -0.0299 0.0002)
OKLCHoklch(37.34% 0.03 179.6)
XYZxyz(4.3163, 5.3661, 5.8083)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4641 #462F34
analogous
#2F4635 #2F4641 #2F3F46
triadic
#2F4641 #412F46 #46412F
tetradic
#2F4641 #352F46 #462F34 #3F462F
square
#2F4641 #352F46 #462F34 #3F462F
split-complementary
#2F4641 #462F3F #46352F
monochromatic
#0C1211 #16211F #2F4641 #486B63 #608F85

Accessibility & contrast

On white

10.13
#2F4641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2F4641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4641
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4641#FFFFFF#000000##FFFFFF
##2F46411.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444341
Deuteranopia (green-blind)
#404041
Tritanopia (blue-blind)
#284744
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f4641;
/* rgb */ color: rgb(47, 70, 65);
/* oklch */ color: oklch(37.3% 0.030 179.6);
Tailwind
colors: {
  custom: {
    50: '#687975',
    500: '#2f4641',
    950: '#000000',
  },
}
SCSS
$custom: #2f4641;
$custom-light: #687975;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4641",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 65
  },
  "hsl": {
    "h": 166.957,
    "s": 19.658,
    "l": 22.941
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.02989,
    "h": 179.6
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#2F4641
secondary
#775A60
accent
#6C7DBC
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #2F4641

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

Preview Lab → · Contrast checker → · Palette generator →

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