#2B787D#2B787D

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

Color values

HEX#2B787D
RGBrgb(43, 120, 125)
HSLhsl(184, 49%, 33%)
HSVhsv(184, 66%, 49%)
CMYKcmyk(65.6%, 4%, 0%, 51%)
CIE-LABlab(46.21, -21.48, -9.69)
CIE-LCHlch(46.21, 23.57, 204.29°)
OKLaboklab(52.82% -0.0692 -0.0269)
OKLCHoklch(52.82% 0.074 201.2)
XYZxyz(11.4128, 15.4260, 21.7741)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B787D #7D302B
analogous
#2B7D59 #2B787D #2B4F7D
triadic
#2B787D #7D2B78 #787D2B
tetradic
#2B787D #592B7D #7D302B #4F7D2B
square
#2B787D #592B7D #7D302B #4F7D2B
split-complementary
#2B787D #7D2B4F #7D592B
monochromatic
#0C2122 #1B4C4F #2B787D #3BA4AB #5CC0C7

Accessibility & contrast

On white

5.14
#2B787D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2B787D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B787D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B787D#FFFFFF#000000##FFFFFF
##2B787D1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737D
Deuteranopia (green-blind)
#636A7D
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b787d;
/* rgb */ color: rgb(43, 120, 125);
/* oklch */ color: oklch(52.8% 0.074 201.2);
Tailwind
colors: {
  custom: {
    50: '#6f9fa2',
    500: '#2b787d',
    950: '#000000',
  },
}
SCSS
$custom: #2b787d;
$custom-light: #6f9fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b787d",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 183.659,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.07419,
    "h": 201.2
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#2B787D
secondary
#AD5C57
accent
#584FD8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2B787D

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

Preview Lab → · Contrast checker → · Palette generator →

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