#3A786F#3A786F

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

Color values

HEX#3A786F
RGBrgb(58, 120, 111)
HSLhsl(171, 35%, 35%)
HSVhsv(171, 52%, 47%)
CMYKcmyk(51.7%, 0%, 7.5%, 52.9%)
CIE-LABlab(46.28, -22.39, -1.20)
CIE-LCHlch(46.28, 22.43, 183.07°)
OKLaboklab(52.87% -0.0659 -0.0036)
OKLCHoklch(52.87% 0.066 183.1)
XYZxyz(11.3294, 15.4792, 17.4266)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A786F #783A43
analogous
#3A7850 #3A786F #3A6278
triadic
#3A786F #6F3A78 #786F3A
tetradic
#3A786F #503A78 #783A43 #62783A
square
#3A786F #503A78 #783A43 #62783A
split-complementary
#3A786F #783A62 #78503A
monochromatic
#122523 #264F49 #3A786F #4EA195 #72BBB0

Accessibility & contrast

On white

5.13
#3A786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3A786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A786F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A786F#FFFFFF#000000##FFFFFF
##3A786F1.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)
#73726F
Deuteranopia (green-blind)
#696B70
Tritanopia (blue-blind)
#1A7A75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a786f;
/* rgb */ color: rgb(58, 120, 111);
/* oklch */ color: oklch(52.9% 0.066 183.1);
Tailwind
colors: {
  custom: {
    50: '#759f98',
    500: '#3a786f',
    950: '#000000',
  },
}
SCSS
$custom: #3a786f;
$custom-light: #759f98;
$custom-dark: #000000;
JSON
{
  "hex": "#3a786f",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 171.29,
    "s": 34.831,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.066,
    "h": 183.1
  },
  "luminance": 0.1548
}

Semantic roles & 50–950 ramp

primary
#3A786F
secondary
#A46A72
accent
#5D6DCB
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0D
muted
#7B7E7E

Preview Lab

Preview with #3A786F

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

Preview Lab → · Contrast checker → · Palette generator →

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