#3A787B#3A787B

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

Color values

HEX#3A787B
RGBrgb(58, 120, 123)
HSLhsl(183, 36%, 35%)
HSVhsv(183, 53%, 48%)
CMYKcmyk(52.8%, 2.4%, 0%, 51.8%)
CIE-LABlab(46.66, -19.01, -7.78)
CIE-LCHlch(46.66, 20.54, 202.26°)
OKLaboklab(53.3% -0.0603 -0.0215)
OKLCHoklch(53.3% 0.064 199.6)
XYZxyz(12.0351, 15.7615, 21.1431)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A787B #7B3D3A
analogous
#3A7B5D #3A787B #3A577B
triadic
#3A787B #7B3A78 #787B3A
tetradic
#3A787B #5D3A7B #7B3D3A #577B3A
square
#3A787B #5D3A7B #7B3D3A #577B3A
split-complementary
#3A787B #7B3A57 #7B5D3A
monochromatic
#132728 #264F51 #3A787B #4EA1A5 #73B9BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A787B#FFFFFF#000000##FFFFFF
##3A787B1.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)
#70737B
Deuteranopia (green-blind)
#666B7B
Tritanopia (blue-blind)
#0B7C79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a787b;
/* rgb */ color: rgb(58, 120, 123);
/* oklch */ color: oklch(53.3% 0.064 199.6);
Tailwind
colors: {
  custom: {
    50: '#769fa1',
    500: '#3a787b',
    950: '#000000',
  },
}
SCSS
$custom: #3a787b;
$custom-light: #769fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a787b",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 182.769,
    "s": 35.912,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.06399,
    "h": 199.6
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#3A787B
secondary
#A66D6B
accent
#615CCC
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #3A787B

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

Preview Lab → · Contrast checker → · Palette generator →

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