#34878E#34878E

#34878E is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.6% C 0.079 H 203.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#34878E
RGBrgb(52, 135, 142)
HSLhsl(185, 46%, 38%)
HSVhsv(185, 63%, 56%)
CMYKcmyk(63.4%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.85, -22.48, -11.20)
CIE-LCHlch(51.85, 25.12, 206.47°)
OKLaboklab(57.63% -0.0732 -0.031)
OKLCHoklch(57.63% 0.079 203)
XYZxyz(14.9606, 20.0094, 28.6597)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34878E #8E3B34
analogous
#348E68 #34878E #345A8E
triadic
#34878E #8E3487 #878E34
tetradic
#34878E #68348E #8E3B34 #5A8E34
square
#34878E #68348E #8E3B34 #5A8E34
split-complementary
#34878E #8E345A #8E6834
monochromatic
#133234 #245C61 #34878E #44B2BB #71C4CB

Accessibility & contrast

On white

4.20
#34878E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#34878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34878E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34878E#FFFFFF#000000##000000
##34878E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818F
Deuteranopia (green-blind)
#6F778E
Tritanopia (blue-blind)
#008C89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #34878e;
/* rgb */ color: rgb(52, 135, 142);
/* oklch */ color: oklch(57.6% 0.079 203.0);
Tailwind
colors: {
  custom: {
    50: '#77aaaf',
    500: '#34878e',
    950: '#000000',
  },
}
SCSS
$custom: #34878e;
$custom-light: #77aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#34878e",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 184.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57632,
    "c": 0.07946,
    "h": 203
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#34878E
secondary
#B3706A
accent
#5C52D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #34878E

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

Preview Lab → · Contrast checker → · Palette generator →

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