#3A787E#3A787E

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

Color values

HEX#3A787E
RGBrgb(58, 120, 126)
HSLhsl(185, 37%, 36%)
HSVhsv(185, 54%, 49%)
CMYKcmyk(54%, 4.8%, 0%, 50.6%)
CIE-LABlab(46.76, -18.12, -9.41)
CIE-LCHlch(46.76, 20.42, 207.44°)
OKLaboklab(53.41% -0.0589 -0.026)
OKLCHoklch(53.41% 0.064 203.8)
XYZxyz(12.2258, 15.8377, 22.1473)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A787E #7E403A
analogous
#3A7E62 #3A787E #3A567E
triadic
#3A787E #7E3A78 #787E3A
tetradic
#3A787E #623A7E #7E403A #567E3A
square
#3A787E #623A7E #7E403A #567E3A
split-complementary
#3A787E #7E3A56 #7E623A
monochromatic
#13282A #275054 #3A787E #4DA0A8 #74B8BF

Accessibility & contrast

On white

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

On black

4.17
#3A787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A787E#FFFFFF#000000##FFFFFF
##3A787E1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747E
Deuteranopia (green-blind)
#656B7E
Tritanopia (blue-blind)
#057C7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a787e;
/* rgb */ color: rgb(58, 120, 126);
/* oklch */ color: oklch(53.4% 0.064 203.8);
Tailwind
colors: {
  custom: {
    50: '#769fa3',
    500: '#3a787e',
    950: '#000000',
  },
}
SCSS
$custom: #3a787e;
$custom-light: #769fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a787e",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 185.294,
    "s": 36.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.0644,
    "h": 203.8
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#3A787E
secondary
#A8716C
accent
#655BCD
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #3A787E

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

Preview Lab → · Contrast checker → · Palette generator →

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