#2B5145#2B5145

#2B5145 is a dark, muted teal. Relative luminance 0.068; OKLCH L 40.3% C 0.048 H 171.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2B5145
RGBrgb(43, 81, 69)
HSLhsl(161, 31%, 24%)
HSVhsv(161, 47%, 32%)
CMYKcmyk(46.9%, 0%, 14.8%, 68.2%)
CIE-LABlab(31.41, -16.86, 2.85)
CIE-LCHlch(31.41, 17.10, 170.40°)
OKLaboklab(40.26% -0.0479 0.0073)
OKLCHoklch(40.26% 0.048 171.4)
XYZxyz(5.0124, 6.8278, 6.6828)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5145 #512B37
analogous
#2B5132 #2B5145 #2B4A51
triadic
#2B5145 #452B51 #51452B
tetradic
#2B5145 #322B51 #512B37 #4A512B
square
#2B5145 #322B51 #512B37 #4A512B
split-complementary
#2B5145 #512B4A #51322B
monochromatic
#0B1411 #162923 #2B5145 #407967 #55A189

Accessibility & contrast

On white

8.88
#2B5145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B5145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5145
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5145#FFFFFF#000000##FFFFFF
##2B51451.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D44
Deuteranopia (green-blind)
#494846
Tritanopia (blue-blind)
#1F524D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5145;
/* rgb */ color: rgb(43, 81, 69);
/* oklch */ color: oklch(40.3% 0.048 171.4);
Tailwind
colors: {
  custom: {
    50: '#678278',
    500: '#2b5145',
    950: '#000000',
  },
}
SCSS
$custom: #2b5145;
$custom-light: #678278;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5145",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 161.053,
    "s": 30.645,
    "l": 24.314
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.04847,
    "h": 171.4
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#2B5145
secondary
#835563
accent
#6181C7
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A09
muted
#7A7C7B

Preview Lab

Preview with #2B5145

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

Preview Lab → · Contrast checker → · Palette generator →

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