#2F474A#2F474A

#2F474A is a dark, muted teal. Relative luminance 0.056; OKLCH L 38.0% C 0.030 H 205.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2F474A
RGBrgb(47, 71, 74)
HSLhsl(187, 22%, 24%)
HSVhsv(187, 36%, 29%)
CMYKcmyk(36.5%, 4.1%, 0%, 71%)
CIE-LABlab(28.39, -8.34, -4.76)
CIE-LCHlch(28.39, 9.60, 209.72°)
OKLaboklab(37.95% -0.027 -0.013)
OKLCHoklch(37.95% 0.03 205.8)
XYZxyz(4.6611, 5.6050, 7.3135)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F474A #4A322F
analogous
#2F4A3F #2F474A #2F394A
triadic
#2F474A #4A2F47 #474A2F
tetradic
#2F474A #3F2F4A #4A322F #394A2F
square
#2F474A #3F2F4A #4A322F #394A2F
split-complementary
#2F474A #4A2F39 #4A3F2F
monochromatic
#0C1213 #172325 #2F474A #476B6F #5F8F95

Accessibility & contrast

On white

9.90
#2F474A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F474A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F474A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F474A#FFFFFF#000000##FFFFFF
##2F474A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43454A
Deuteranopia (green-blind)
#3F414A
Tritanopia (blue-blind)
#254948
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f474a;
/* rgb */ color: rgb(47, 71, 74);
/* oklch */ color: oklch(38.0% 0.030 205.8);
Tailwind
colors: {
  custom: {
    50: '#697a7c',
    500: '#2f474a',
    950: '#000000',
  },
}
SCSS
$custom: #2f474a;
$custom-light: #697a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f474a",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 74
  },
  "hsl": {
    "h": 186.667,
    "s": 22.314,
    "l": 23.725
  },
  "oklch": {
    "l": 0.37952,
    "c": 0.02995,
    "h": 205.8
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#2F474A
secondary
#7B5D5A
accent
#7369BF
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#060909
muted
#7A7B7B

Preview Lab

Preview with #2F474A

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

Preview Lab → · Contrast checker → · Palette generator →

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