#34877B#34877B

#34877B is a mid, moderate teal. Relative luminance 0.195; OKLCH L 57.0% C 0.082 H 182.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#34877B
RGBrgb(52, 135, 123)
HSLhsl(171, 44%, 37%)
HSVhsv(171, 61%, 53%)
CMYKcmyk(61.5%, 0%, 8.9%, 47.1%)
CIE-LABlab(51.25, -28.02, -1.01)
CIE-LCHlch(51.25, 28.03, 182.06°)
OKLaboklab(56.95% -0.082 -0.0032)
OKLCHoklch(56.95% 0.082 182.2)
XYZxyz(13.6537, 19.4867, 21.7768)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34877B #873440
analogous
#348752 #34877B #346A87
triadic
#34877B #7B3487 #877B34
tetradic
#34877B #523487 #873440 #6A8734
square
#34877B #523487 #873440 #6A8734
split-complementary
#34877B #87346A #875234
monochromatic
#122F2A #235B53 #34877B #45B3A3 #6EC7BA

Accessibility & contrast

On white

4.29
#34877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#34877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34877B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34877B#FFFFFF#000000##000000
##34877B1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807B
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#008983
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #34877b;
/* rgb */ color: rgb(52, 135, 123);
/* oklch */ color: oklch(57.0% 0.082 182.2);
Tailwind
colors: {
  custom: {
    50: '#75aaa1',
    500: '#34877b',
    950: '#000000',
  },
}
SCSS
$custom: #34877b;
$custom-light: #75aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#34877b",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 171.325,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56951,
    "c": 0.08202,
    "h": 182.2
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#34877B
secondary
#AF6772
accent
#5466D4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #34877B

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

Preview Lab → · Contrast checker → · Palette generator →

#34877B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva