#2B787E#2B787E

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

Color values

HEX#2B787E
RGBrgb(43, 120, 126)
HSLhsl(184, 49%, 33%)
HSVhsv(184, 66%, 49%)
CMYKcmyk(65.9%, 4.8%, 0%, 50.6%)
CIE-LABlab(46.25, -21.17, -10.24)
CIE-LCHlch(46.25, 23.52, 205.81°)
OKLaboklab(52.85% -0.0687 -0.0284)
OKLCHoklch(52.85% 0.074 202.4)
XYZxyz(11.4770, 15.4516, 22.1122)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B787E #7E312B
analogous
#2B7E5A #2B787E #2B4E7E
triadic
#2B787E #7E2B78 #787E2B
tetradic
#2B787E #5A2B7E #7E312B #4E7E2B
square
#2B787E #5A2B7E #7E312B #4E7E2B
split-complementary
#2B787E #7E2B4E #7E5A2B
monochromatic
#0C2123 #1B4D50 #2B787E #3BA3AC #5CC0C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B787E#FFFFFF#000000##FFFFFF
##2B787E1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b787e;
/* rgb */ color: rgb(43, 120, 126);
/* oklch */ color: oklch(52.9% 0.074 202.4);
Tailwind
colors: {
  custom: {
    50: '#709fa3',
    500: '#2b787e',
    950: '#000000',
  },
}
SCSS
$custom: #2b787e;
$custom-light: #709fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b787e",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 184.337,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.07433,
    "h": 202.4
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#2B787E
secondary
#AD5E58
accent
#594FD9
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2B787E

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

Preview Lab → · Contrast checker → · Palette generator →

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