#34879A#34879A

#34879A is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.1% C 0.084 H 215.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#34879A
RGBrgb(52, 135, 154)
HSLhsl(191, 50%, 40%)
HSVhsv(191, 66%, 60%)
CMYKcmyk(66.2%, 12.3%, 0%, 39.6%)
CIE-LABlab(52.27, -18.73, -17.52)
CIE-LCHlch(52.27, 25.64, 223.10°)
OKLaboklab(58.12% -0.068 -0.0487)
OKLCHoklch(58.12% 0.084 215.6)
XYZxyz(15.9105, 20.3894, 33.6626)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34879A #9A4734
analogous
#349A7A #34879A #34549A
triadic
#34879A #9A3487 #879A34
tetradic
#34879A #7A349A #9A4734 #549A34
square
#34879A #7A349A #9A4734 #549A34
split-complementary
#34879A #9A3454 #9A7A34
monochromatic
#15373E #255F6C #34879A #49ABC2 #77C0D1

Accessibility & contrast

On white

4.14
#34879A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#34879A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34879A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34879A#FFFFFF#000000##000000
##34879A1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839B
Deuteranopia (green-blind)
#6B789A
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #34879a;
/* rgb */ color: rgb(52, 135, 154);
/* oklch */ color: oklch(58.1% 0.084 215.6);
Tailwind
colors: {
  custom: {
    50: '#78aab7',
    500: '#34879a',
    950: '#000000',
  },
}
SCSS
$custom: #34879a;
$custom-light: #78aab7;
$custom-dark: #000000;
JSON
{
  "hex": "#34879a",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 154
  },
  "hsl": {
    "h": 191.176,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.08365,
    "h": 215.6
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#34879A
secondary
#BA7E70
accent
#694FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #34879A

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

Preview Lab → · Contrast checker → · Palette generator →

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