#2A786E#2A786E

#2A786E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.077 H 183.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A786E
RGBrgb(42, 120, 110)
HSLhsl(172, 48%, 32%)
HSVhsv(172, 65%, 47%)
CMYKcmyk(65%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.70, -26.16, -1.52)
CIE-LCHlch(45.70, 26.21, 183.33°)
OKLaboklab(52.23% -0.0768 -0.0045)
OKLCHoklch(52.23% 0.077 183.4)
XYZxyz(10.4845, 15.0499, 17.1012)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A786E #782A34
analogous
#2A7847 #2A786E #2A5B78
triadic
#2A786E #6E2A78 #786E2A
tetradic
#2A786E #472A78 #782A34 #5B782A
square
#2A786E #472A78 #782A34 #5B782A
split-complementary
#2A786E #782A5B #78472A
monochromatic
#0A1D1B #1A4B44 #2A786E #3AA598 #58C5B7

Accessibility & contrast

On white

5.24
#2A786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2A786E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A786E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A786E#FFFFFF#000000##FFFFFF
##2A786E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716E
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a786e;
/* rgb */ color: rgb(42, 120, 110);
/* oklch */ color: oklch(52.2% 0.077 183.4);
Tailwind
colors: {
  custom: {
    50: '#6e9f97',
    500: '#2a786e',
    950: '#000000',
  },
}
SCSS
$custom: #2a786e;
$custom-light: #6e9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2a786e",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 172.308,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.07698,
    "h": 183.4
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#2A786E
secondary
#AA545F
accent
#5061D8
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2A786E

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

Preview Lab → · Contrast checker → · Palette generator →

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