#2B787C#2B787C

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

Color values

HEX#2B787C
RGBrgb(43, 120, 124)
HSLhsl(183, 49%, 33%)
HSVhsv(183, 65%, 49%)
CMYKcmyk(65.3%, 3.2%, 0%, 51.4%)
CIE-LABlab(46.18, -21.79, -9.15)
CIE-LCHlch(46.18, 23.64, 202.78°)
OKLaboklab(52.78% -0.0696 -0.0253)
OKLCHoklch(52.78% 0.074 200)
XYZxyz(11.3492, 15.4005, 21.4394)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B787C #7C2F2B
analogous
#2B7C57 #2B787C #2B4F7C
triadic
#2B787C #7C2B78 #787C2B
tetradic
#2B787C #572B7C #7C2F2B #4F7C2B
square
#2B787C #572B7C #7C2F2B #4F7C2B
split-complementary
#2B787C #7C2B4F #7C572B
monochromatic
#0B2021 #1B4C4F #2B787C #3BA4A9 #5BC1C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B787C#FFFFFF#000000##FFFFFF
##2B787C1.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)
#6F737C
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b787c;
/* rgb */ color: rgb(43, 120, 124);
/* oklch */ color: oklch(52.8% 0.074 200.0);
Tailwind
colors: {
  custom: {
    50: '#6f9fa1',
    500: '#2b787c',
    950: '#000000',
  },
}
SCSS
$custom: #2b787c;
$custom-light: #6f9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b787c",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 182.963,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.07409,
    "h": 200
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#2B787C
secondary
#AC5B57
accent
#5650D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2B787C

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

Preview Lab → · Contrast checker → · Palette generator →

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