#34879B#34879B

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

Color values

HEX#34879B
RGBrgb(52, 135, 155)
HSLhsl(192, 50%, 41%)
HSVhsv(192, 66%, 61%)
CMYKcmyk(66.5%, 12.9%, 0%, 39.2%)
CIE-LABlab(52.31, -18.40, -18.04)
CIE-LCHlch(52.31, 25.77, 224.43°)
OKLaboklab(58.16% -0.0676 -0.0502)
OKLCHoklch(58.16% 0.084 216.6)
XYZxyz(15.9941, 20.4228, 34.1031)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34879B #9B4834
analogous
#349B7B #34879B #34549B
triadic
#34879B #9B3487 #879B34
tetradic
#34879B #7B349B #9B4834 #549B34
square
#34879B #7B349B #9B4834 #549B34
split-complementary
#34879B #9B3454 #9B7B34
monochromatic
#15373F #255F6D #34879B #4AABC2 #78C0D2

Accessibility & contrast

On white

4.13
#34879B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##34879B#FFFFFF#000000##000000
##34879B1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34879b;
/* rgb */ color: rgb(52, 135, 155);
/* oklch */ color: oklch(58.2% 0.084 216.6);
Tailwind
colors: {
  custom: {
    50: '#78aab8',
    500: '#34879b',
    950: '#000000',
  },
}
SCSS
$custom: #34879b;
$custom-light: #78aab8;
$custom-dark: #000000;
JSON
{
  "hex": "#34879b",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 191.65,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.08419,
    "h": 216.6
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34879B

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

Preview Lab → · Contrast checker → · Palette generator →

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