#2C787E#2C787E

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

Color values

HEX#2C787E
RGBrgb(44, 120, 126)
HSLhsl(184, 48%, 33%)
HSVhsv(184, 65%, 49%)
CMYKcmyk(65.1%, 4.8%, 0%, 50.6%)
CIE-LABlab(46.28, -20.99, -10.19)
CIE-LCHlch(46.28, 23.33, 205.89°)
OKLaboklab(52.89% -0.0681 -0.0282)
OKLCHoklch(52.89% 0.074 202.5)
XYZxyz(11.5195, 15.4735, 22.1142)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C787E #7E322C
analogous
#2C7E5B #2C787E #2C4F7E
triadic
#2C787E #7E2C78 #787E2C
tetradic
#2C787E #5B2C7E #7E322C #4F7E2C
square
#2C787E #5B2C7E #7E322C #4F7E2C
split-complementary
#2C787E #7E2C4F #7E5B2C
monochromatic
#0C2223 #1C4D51 #2C787E #3CA3AB #5EBFC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C787E#FFFFFF#000000##FFFFFF
##2C787E1.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)
#6F737E
Deuteranopia (green-blind)
#626A7E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c787e;
/* rgb */ color: rgb(44, 120, 126);
/* oklch */ color: oklch(52.9% 0.074 202.5);
Tailwind
colors: {
  custom: {
    50: '#709fa3',
    500: '#2c787e',
    950: '#000000',
  },
}
SCSS
$custom: #2c787e;
$custom-light: #709fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c787e",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 184.39,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.07375,
    "h": 202.5
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#2C787E
secondary
#AD5F59
accent
#5A50D8
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2C787E

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

Preview Lab → · Contrast checker → · Palette generator →

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