#2B787F#2B787F

#2B787F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.074 H 203.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2B787F
RGBrgb(43, 120, 127)
HSLhsl(185, 49%, 33%)
HSVhsv(185, 66%, 50%)
CMYKcmyk(66.1%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.28, -20.86, -10.78)
CIE-LCHlch(46.28, 23.48, 207.33°)
OKLaboklab(52.89% -0.0682 -0.0299)
OKLCHoklch(52.89% 0.075 203.6)
XYZxyz(11.5419, 15.4776, 22.4538)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B787F #7F322B
analogous
#2B7F5C #2B787F #2B4E7F
triadic
#2B787F #7F2B78 #787F2B
tetradic
#2B787F #5C2B7F #7F322B #4E7F2B
square
#2B787F #5C2B7F #7F322B #4E7F2B
split-complementary
#2B787F #7F2B4E #7F5C2B
monochromatic
#0C2224 #1C4D51 #2B787F #3AA3AD #5CBFC8

Accessibility & contrast

On white

5.13
#2B787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2B787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B787F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B787F#FFFFFF#000000##FFFFFF
##2B787F1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7380
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b787f;
/* rgb */ color: rgb(43, 120, 127);
/* oklch */ color: oklch(52.9% 0.074 203.6);
Tailwind
colors: {
  custom: {
    50: '#709fa4',
    500: '#2b787f',
    950: '#000000',
  },
}
SCSS
$custom: #2b787f;
$custom-light: #709fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b787f",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 185,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.0745,
    "h": 203.6
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#2B787F
secondary
#AE5F58
accent
#5A4FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2B787F

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

Preview Lab → · Contrast checker → · Palette generator →

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