#3E787F#3E787F

#3E787F is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.6% C 0.062 H 205.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3E787F
RGBrgb(62, 120, 127)
HSLhsl(186, 34%, 37%)
HSVhsv(186, 51%, 50%)
CMYKcmyk(51.2%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.96, -16.89, -9.69)
CIE-LCHlch(46.96, 19.47, 209.85°)
OKLaboklab(53.63% -0.0555 -0.0267)
OKLCHoklch(53.63% 0.062 205.7)
XYZxyz(12.5323, 15.9883, 22.5002)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E787F #7F453E
analogous
#3E7F66 #3E787F #3E577F
triadic
#3E787F #7F3E78 #787F3E
tetradic
#3E787F #663E7F #7F453E #577F3E
square
#3E787F #663E7F #7F453E #577F3E
split-complementary
#3E787F #7F3E57 #7F663E
monochromatic
#162A2D #2A5156 #3E787F #529FA8 #7AB6BE

Accessibility & contrast

On white

5.00
#3E787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3E787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E787F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E787F#FFFFFF#000000##FFFFFF
##3E787F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707480
Deuteranopia (green-blind)
#656C7F
Tritanopia (blue-blind)
#167C7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e787f;
/* rgb */ color: rgb(62, 120, 127);
/* oklch */ color: oklch(53.6% 0.062 205.7);
Tailwind
colors: {
  custom: {
    50: '#799fa4',
    500: '#3e787f',
    950: '#000000',
  },
}
SCSS
$custom: #3e787f;
$custom-light: #799fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e787f",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 186.462,
    "s": 34.392,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.06157,
    "h": 205.7
  },
  "luminance": 0.15989
}

Semantic roles & 50–950 ramp

primary
#3E787F
secondary
#A87771
accent
#695DCA
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #3E787F

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

Preview Lab → · Contrast checker → · Palette generator →

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