#34878F#34878F

#34878F is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.7% C 0.080 H 204.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#34878F
RGBrgb(52, 135, 143)
HSLhsl(185, 47%, 38%)
HSVhsv(185, 64%, 56%)
CMYKcmyk(63.6%, 5.6%, 0%, 43.9%)
CIE-LABlab(51.88, -22.18, -11.73)
CIE-LCHlch(51.88, 25.09, 207.87°)
OKLaboklab(57.67% -0.0727 -0.0325)
OKLCHoklch(57.67% 0.08 204.1)
XYZxyz(15.0360, 20.0396, 29.0569)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34878F #8F3C34
analogous
#348F69 #34878F #34598F
triadic
#34878F #8F3487 #878F34
tetradic
#34878F #69348F #8F3C34 #598F34
square
#34878F #69348F #8F3C34 #598F34
split-complementary
#34878F #8F3459 #8F6934
monochromatic
#133235 #245D62 #34878F #45B1BB #72C4CC

Accessibility & contrast

On white

4.19
#34878F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#34878F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34878F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34878F#FFFFFF#000000##000000
##34878F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34878f;
/* rgb */ color: rgb(52, 135, 143);
/* oklch */ color: oklch(57.7% 0.080 204.1);
Tailwind
colors: {
  custom: {
    50: '#77aaaf',
    500: '#34878f',
    950: '#000000',
  },
}
SCSS
$custom: #34878f;
$custom-light: #77aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#34878f",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 143
  },
  "hsl": {
    "h": 185.275,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.07963,
    "h": 204.1
  },
  "luminance": 0.20041
}

Semantic roles & 50–950 ramp

primary
#34878F
secondary
#B4716B
accent
#5D51D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #34878F

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

Preview Lab → · Contrast checker → · Palette generator →

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