#3A787D#3A787D

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

Color values

HEX#3A787D
RGBrgb(58, 120, 125)
HSLhsl(184, 37%, 36%)
HSVhsv(184, 54%, 49%)
CMYKcmyk(53.6%, 4%, 0%, 51%)
CIE-LABlab(46.73, -18.42, -8.87)
CIE-LCHlch(46.73, 20.44, 205.71°)
OKLaboklab(53.37% -0.0594 -0.0245)
OKLCHoklch(53.37% 0.064 202.4)
XYZxyz(12.1616, 15.8120, 21.8092)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A787D #7D3F3A
analogous
#3A7D60 #3A787D #3A567D
triadic
#3A787D #7D3A78 #787D3A
tetradic
#3A787D #603A7D #7D3F3A #567D3A
square
#3A787D #603A7D #7D3F3A #567D3A
split-complementary
#3A787D #7D3A56 #7D603A
monochromatic
#132829 #275053 #3A787D #4DA0A7 #73B9BE

Accessibility & contrast

On white

5.04
#3A787D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3A787D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A787D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A787D#FFFFFF#000000##FFFFFF
##3A787D1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737D
Deuteranopia (green-blind)
#656B7D
Tritanopia (blue-blind)
#077C79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a787d;
/* rgb */ color: rgb(58, 120, 125);
/* oklch */ color: oklch(53.4% 0.064 202.4);
Tailwind
colors: {
  custom: {
    50: '#769fa2',
    500: '#3a787d',
    950: '#000000',
  },
}
SCSS
$custom: #3a787d;
$custom-light: #769fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a787d",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 184.478,
    "s": 36.612,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.06423,
    "h": 202.4
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#3A787D
secondary
#A8706B
accent
#645BCD
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0F
muted
#7B7E7E

Preview Lab

Preview with #3A787D

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

Preview Lab → · Contrast checker → · Palette generator →

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