#34878A#34878A

#34878A is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.5% C 0.079 H 198.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#34878A
RGBrgb(52, 135, 138)
HSLhsl(182, 45%, 37%)
HSVhsv(182, 62%, 54%)
CMYKcmyk(62.3%, 2.2%, 0%, 45.9%)
CIE-LABlab(51.71, -23.69, -9.07)
CIE-LCHlch(51.71, 25.37, 200.94°)
OKLaboklab(57.48% -0.0749 -0.0251)
OKLCHoklch(57.48% 0.079 198.5)
XYZxyz(14.6656, 19.8914, 27.1064)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34878A #8A3734
analogous
#348A62 #34878A #345C8A
triadic
#34878A #8A3487 #878A34
tetradic
#34878A #62348A #8A3734 #5C8A34
square
#34878A #62348A #8A3734 #5C8A34
split-complementary
#34878A #8A345C #8A6234
monochromatic
#133031 #235C5E #34878A #45B2B6 #6FC6C9

Accessibility & contrast

On white

4.22
#34878A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#34878A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34878A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34878A#FFFFFF#000000##000000
##34878A1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E818A
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #34878a;
/* rgb */ color: rgb(52, 135, 138);
/* oklch */ color: oklch(57.5% 0.079 198.5);
Tailwind
colors: {
  custom: {
    50: '#76aaac',
    500: '#34878a',
    950: '#000000',
  },
}
SCSS
$custom: #34878a;
$custom-light: #76aaac;
$custom-dark: #000000;
JSON
{
  "hex": "#34878a",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 138
  },
  "hsl": {
    "h": 182.093,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.07904,
    "h": 198.5
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#34878A
secondary
#B16B69
accent
#5753D5
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #34878A

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

Preview Lab → · Contrast checker → · Palette generator →

#34878A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva