#2F403F#2F403F

#2F403F is a dark, muted teal. Relative luminance 0.046; OKLCH L 35.6% C 0.022 H 191.7°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2F403F
RGBrgb(47, 64, 63)
HSLhsl(176, 15%, 22%)
HSVhsv(176, 27%, 25%)
CMYKcmyk(26.6%, 0%, 1.6%, 74.9%)
CIE-LABlab(25.65, -7.04, -1.62)
CIE-LCHlch(25.65, 7.23, 192.94°)
OKLaboklab(35.64% -0.0214 -0.0044)
OKLCHoklch(35.64% 0.022 191.7)
XYZxyz(3.9026, 4.6298, 5.3897)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F403F #402F30
analogous
#2F4037 #2F403F #2F3940
triadic
#2F403F #3F2F40 #403F2F
tetradic
#2F403F #372F40 #402F30 #39402F
square
#2F403F #372F40 #402F30 #39402F
split-complementary
#2F403F #402F39 #40372F
monochromatic
#0D1211 #151D1C #2F403F #496362 #638784

Accessibility & contrast

On white

10.90
#2F403F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F403F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F403F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F403F#FFFFFF#000000##FFFFFF
##2F403F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E3F
Deuteranopia (green-blind)
#3B3C3F
Tritanopia (blue-blind)
#2A4140
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f403f;
/* rgb */ color: rgb(47, 64, 63);
/* oklch */ color: oklch(35.6% 0.022 191.7);
Tailwind
colors: {
  custom: {
    50: '#687474',
    500: '#2f403f',
    950: '#000000',
  },
}
SCSS
$custom: #2f403f;
$custom-light: #687474;
$custom-dark: #000000;
JSON
{
  "hex": "#2f403f",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 63
  },
  "hsl": {
    "h": 176.471,
    "s": 15.315,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35643,
    "c": 0.0219,
    "h": 191.7
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#2F403F
secondary
#705B5C
accent
#7074B8
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #2F403F

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

Preview Lab → · Contrast checker → · Palette generator →

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