#2B786E#2B786E

#2B786E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.076 H 183.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2B786E
RGBrgb(43, 120, 110)
HSLhsl(172, 47%, 32%)
HSVhsv(172, 64%, 47%)
CMYKcmyk(64.2%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.73, -25.97, -1.48)
CIE-LCHlch(45.73, 26.02, 183.26°)
OKLaboklab(52.27% -0.0763 -0.0044)
OKLCHoklch(52.27% 0.076 183.3)
XYZxyz(10.5259, 15.0712, 17.1031)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B786E #782B35
analogous
#2B7848 #2B786E #2B5C78
triadic
#2B786E #6E2B78 #786E2B
tetradic
#2B786E #482B78 #782B35 #5C782B
square
#2B786E #482B78 #782B35 #5C782B
split-complementary
#2B786E #782B5C #78482B
monochromatic
#0B1E1B #1B4B45 #2B786E #3BA597 #5AC4B6

Accessibility & contrast

On white

5.23
#2B786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B786E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B786E#FFFFFF#000000##FFFFFF
##2B786E1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716E
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b786e;
/* rgb */ color: rgb(43, 120, 110);
/* oklch */ color: oklch(52.3% 0.076 183.3);
Tailwind
colors: {
  custom: {
    50: '#6e9f97',
    500: '#2b786e',
    950: '#000000',
  },
}
SCSS
$custom: #2b786e;
$custom-light: #6e9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2b786e",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 172.208,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52266,
    "c": 0.07641,
    "h": 183.3
  },
  "luminance": 0.15072
}

Semantic roles & 50–950 ramp

primary
#2B786E
secondary
#AA5560
accent
#5162D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2B786E

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

Preview Lab → · Contrast checker → · Palette generator →

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