#2F5145#2F5145

#2F5145 is a dark, muted teal. Relative luminance 0.069; OKLCH L 40.5% C 0.045 H 169.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2F5145
RGBrgb(47, 81, 69)
HSLhsl(159, 27%, 25%)
HSVhsv(159, 42%, 32%)
CMYKcmyk(42%, 0%, 14.8%, 68.2%)
CIE-LABlab(31.62, -15.59, 3.18)
CIE-LCHlch(31.62, 15.91, 168.47°)
OKLaboklab(40.49% -0.0442 0.0082)
OKLCHoklch(40.49% 0.045 169.5)
XYZxyz(5.1885, 6.9185, 6.6911)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5145 #512F3B
analogous
#2F5134 #2F5145 #2F4C51
triadic
#2F5145 #452F51 #51452F
tetradic
#2F5145 #342F51 #512F3B #4C512F
square
#2F5145 #342F51 #512F3B #4C512F
split-complementary
#2F5145 #512F4C #51342F
monochromatic
#0B1310 #192A24 #2F5145 #457866 #5C9E87

Accessibility & contrast

On white

8.81
#2F5145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F5145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5145
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5145#FFFFFF#000000##FFFFFF
##2F51451.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D44
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#25514D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f5145;
/* rgb */ color: rgb(47, 81, 69);
/* oklch */ color: oklch(40.5% 0.045 169.5);
Tailwind
colors: {
  custom: {
    50: '#698278',
    500: '#2f5145',
    950: '#000000',
  },
}
SCSS
$custom: #2f5145;
$custom-light: #698278;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5145",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 158.824,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.04497,
    "h": 169.5
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#2F5145
secondary
#825968
accent
#6586C3
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A09
muted
#7A7C7B

Preview Lab

Preview with #2F5145

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

Preview Lab → · Contrast checker → · Palette generator →

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