#2B786D#2B786D

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

Color values

HEX#2B786D
RGBrgb(43, 120, 109)
HSLhsl(171, 47%, 32%)
HSVhsv(171, 64%, 47%)
CMYKcmyk(64.2%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.70, -26.26, -0.93)
CIE-LCHlch(45.70, 26.28, 182.02°)
OKLaboklab(52.23% -0.0768 -0.0029)
OKLCHoklch(52.23% 0.077 182.2)
XYZxyz(10.4718, 15.0496, 16.8180)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B786D #782B36
analogous
#2B7847 #2B786D #2B5D78
triadic
#2B786D #6D2B78 #786D2B
tetradic
#2B786D #472B78 #782B36 #5D782B
square
#2B786D #472B78 #782B36 #5D782B
split-complementary
#2B786D #782B5D #78472B
monochromatic
#0B1E1B #1B4B44 #2B786D #3BA596 #5AC4B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B786D#FFFFFF#000000##FFFFFF
##2B786D1.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)
#73716D
Deuteranopia (green-blind)
#67696E
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b786d;
/* rgb */ color: rgb(43, 120, 109);
/* oklch */ color: oklch(52.2% 0.077 182.2);
Tailwind
colors: {
  custom: {
    50: '#6e9f96',
    500: '#2b786d',
    950: '#000000',
  },
}
SCSS
$custom: #2b786d;
$custom-light: #6e9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2b786d",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 171.429,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.07683,
    "h": 182.2
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#2B786D
secondary
#AA5561
accent
#5164D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2B786D

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

Preview Lab → · Contrast checker → · Palette generator →

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