#3A787A#3A787A

#3A787A is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.3% C 0.064 H 198.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3A787A
RGBrgb(58, 120, 122)
HSLhsl(182, 36%, 35%)
HSVhsv(182, 52%, 48%)
CMYKcmyk(52.5%, 1.6%, 0%, 52.2%)
CIE-LABlab(46.63, -19.30, -7.24)
CIE-LCHlch(46.63, 20.61, 200.55°)
OKLaboklab(53.26% -0.0607 -0.02)
OKLCHoklch(53.26% 0.064 198.2)
XYZxyz(11.9728, 15.7365, 20.8151)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A787A #7A3C3A
analogous
#3A7A5C #3A787A #3A587A
triadic
#3A787A #7A3A78 #787A3A
tetradic
#3A787A #5C3A7A #7A3C3A #587A3A
square
#3A787A #5C3A7A #7A3C3A #587A3A
split-complementary
#3A787A #7A3A58 #7A5C3A
monochromatic
#132627 #264F51 #3A787A #4EA1A3 #72BABC

Accessibility & contrast

On white

5.06
#3A787A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3A787A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A787A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A787A#FFFFFF#000000##FFFFFF
##3A787A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71737A
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#0D7C78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a787a;
/* rgb */ color: rgb(58, 120, 122);
/* oklch */ color: oklch(53.3% 0.064 198.2);
Tailwind
colors: {
  custom: {
    50: '#769fa0',
    500: '#3a787a',
    950: '#000000',
  },
}
SCSS
$custom: #3a787a;
$custom-light: #769fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a787a",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.875,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.06394,
    "h": 198.2
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#3A787A
secondary
#A66C6A
accent
#605CCC
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #3A787A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A787A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva