#2B787B#2B787B

#2B787B is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.074 H 198.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2B787B
RGBrgb(43, 120, 123)
HSLhsl(182, 48%, 33%)
HSVhsv(182, 65%, 48%)
CMYKcmyk(65%, 2.4%, 0%, 51.8%)
CIE-LABlab(46.14, -22.10, -8.61)
CIE-LCHlch(46.14, 23.72, 201.27°)
OKLaboklab(52.74% -0.0701 -0.0238)
OKLCHoklch(52.74% 0.074 198.8)
XYZxyz(11.2863, 15.3754, 21.1080)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B787B #7B2E2B
analogous
#2B7B56 #2B787B #2B507B
triadic
#2B787B #7B2B78 #787B2B
tetradic
#2B787B #562B7B #7B2E2B #507B2B
square
#2B787B #562B7B #7B2E2B #507B2B
split-complementary
#2B787B #7B2B50 #7B562B
monochromatic
#0B2020 #1B4C4E #2B787B #3BA4A8 #5BC2C6

Accessibility & contrast

On white

5.15
#2B787B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2B787B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B787B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B787B#FFFFFF#000000##FFFFFF
##2B787B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737B
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b787b;
/* rgb */ color: rgb(43, 120, 123);
/* oklch */ color: oklch(52.7% 0.074 198.8);
Tailwind
colors: {
  custom: {
    50: '#6f9fa1',
    500: '#2b787b',
    950: '#000000',
  },
}
SCSS
$custom: #2b787b;
$custom-light: #6f9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b787b",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 182.25,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.07403,
    "h": 198.8
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#2B787B
secondary
#AB5A56
accent
#5550D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2B787B

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

Preview Lab → · Contrast checker → · Palette generator →

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