#2B786C#2B786C

#2B786C is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.077 H 181.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2B786C
RGBrgb(43, 120, 108)
HSLhsl(171, 47%, 32%)
HSVhsv(171, 64%, 47%)
CMYKcmyk(64.2%, 0%, 10%, 52.9%)
CIE-LABlab(45.67, -26.54, -0.37)
CIE-LCHlch(45.67, 26.54, 180.81°)
OKLaboklab(52.2% -0.0773 -0.0014)
OKLCHoklch(52.2% 0.077 181.1)
XYZxyz(10.4183, 15.0281, 16.5361)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B786C #782B37
analogous
#2B7846 #2B786C #2B5E78
triadic
#2B786C #6C2B78 #786C2B
tetradic
#2B786C #462B78 #782B37 #5E782B
square
#2B786C #462B78 #782B37 #5E782B
split-complementary
#2B786C #782B5E #78462B
monochromatic
#0B1E1B #1B4B43 #2B786C #3BA595 #5AC4B3

Accessibility & contrast

On white

5.24
#2B786C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2B786C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B786C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B786C#FFFFFF#000000##FFFFFF
##2B786C1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716C
Deuteranopia (green-blind)
#67696D
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b786c;
/* rgb */ color: rgb(43, 120, 108);
/* oklch */ color: oklch(52.2% 0.077 181.1);
Tailwind
colors: {
  custom: {
    50: '#6e9f96',
    500: '#2b786c',
    950: '#000000',
  },
}
SCSS
$custom: #2b786c;
$custom-light: #6e9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2b786c",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 170.649,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.07728,
    "h": 181.1
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#2B786C
secondary
#AA5562
accent
#5166D7
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2B786C

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

Preview Lab → · Contrast checker → · Palette generator →

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