#2F4142#2F4142

#2F4142 is a dark, muted teal. Relative luminance 0.048; OKLCH L 36.0% C 0.023 H 200.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2F4142
RGBrgb(47, 65, 66)
HSLhsl(183, 17%, 22%)
HSVhsv(183, 29%, 26%)
CMYKcmyk(28.8%, 1.5%, 0%, 74.1%)
CIE-LABlab(26.09, -6.86, -2.95)
CIE-LCHlch(26.09, 7.47, 203.25°)
OKLaboklab(36.03% -0.0216 -0.008)
OKLCHoklch(36.03% 0.023 200.5)
XYZxyz(4.0456, 4.7781, 5.8623)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4142 #42302F
analogous
#2F423A #2F4142 #2F3842
triadic
#2F4142 #422F41 #41422F
tetradic
#2F4142 #3A2F42 #42302F #38422F
square
#2F4142 #3A2F42 #42302F #38422F
split-complementary
#2F4142 #422F38 #423A2F
monochromatic
#0D1212 #161E1E #2F4142 #486466 #628789

Accessibility & contrast

On white

10.74
#2F4142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F4142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4142
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4142#FFFFFF#000000##FFFFFF
##2F41421.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3F42
Deuteranopia (green-blind)
#3B3D42
Tritanopia (blue-blind)
#294241
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f4142;
/* rgb */ color: rgb(47, 65, 66);
/* oklch */ color: oklch(36.0% 0.023 200.5);
Tailwind
colors: {
  custom: {
    50: '#687576',
    500: '#2f4142',
    950: '#000000',
  },
}
SCSS
$custom: #2f4142;
$custom-light: #687576;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4142",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 66
  },
  "hsl": {
    "h": 183.158,
    "s": 16.814,
    "l": 22.157
  },
  "oklch": {
    "l": 0.36027,
    "c": 0.02301,
    "h": 200.5
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#2F4142
secondary
#725C5A
accent
#726EBA
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #2F4142

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

Preview Lab → · Contrast checker → · Palette generator →

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