#34787E#34787E

#34787E is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.069 H 203.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#34787E
RGBrgb(52, 120, 126)
HSLhsl(185, 42%, 35%)
HSVhsv(185, 59%, 49%)
CMYKcmyk(58.7%, 4.8%, 0%, 50.6%)
CIE-LABlab(46.54, -19.44, -9.77)
CIE-LCHlch(46.54, 21.76, 206.69°)
OKLaboklab(53.17% -0.0631 -0.027)
OKLCHoklch(53.17% 0.069 203.2)
XYZxyz(11.8970, 15.6682, 22.1319)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34787E #7E3A34
analogous
#347E5F #34787E #34537E
triadic
#34787E #7E3478 #787E34
tetradic
#34787E #5F347E #7E3A34 #537E34
square
#34787E #5F347E #7E3A34 #537E34
split-complementary
#34787E #7E3453 #7E5F34
monochromatic
#102527 #224F53 #34787E #46A1A9 #6BBBC2

Accessibility & contrast

On white

5.08
#34787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#34787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34787E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34787E#FFFFFF#000000##FFFFFF
##34787E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737E
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#007C7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #34787e;
/* rgb */ color: rgb(52, 120, 126);
/* oklch */ color: oklch(53.2% 0.069 203.2);
Tailwind
colors: {
  custom: {
    50: '#749fa3',
    500: '#34787e',
    950: '#000000',
  },
}
SCSS
$custom: #34787e;
$custom-light: #749fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#34787e",
  "rgb": {
    "r": 52,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 184.865,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.06868,
    "h": 203.2
  },
  "luminance": 0.15669
}

Semantic roles & 50–950 ramp

primary
#34787E
secondary
#AA6A64
accent
#6056D1
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #34787E

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

Preview Lab → · Contrast checker → · Palette generator →

#34787E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva