#34879D#34879D

#34879D is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.2% C 0.085 H 218.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#34879D
RGBrgb(52, 135, 157)
HSLhsl(193, 50%, 41%)
HSVhsv(193, 67%, 62%)
CMYKcmyk(66.9%, 14%, 0%, 38.4%)
CIE-LABlab(52.39, -17.76, -19.09)
CIE-LCHlch(52.39, 26.07, 227.07°)
OKLaboklab(58.24% -0.0668 -0.0532)
OKLCHoklch(58.24% 0.085 218.5)
XYZxyz(16.1635, 20.4906, 34.9950)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34879D #9D4A34
analogous
#349D7E #34879D #34539D
triadic
#34879D #9D3487 #879D34
tetradic
#34879D #7E349D #9D4A34 #539D34
square
#34879D #7E349D #9D4A34 #539D34
split-complementary
#34879D #9D3453 #9D7E34
monochromatic
#163841 #255F6F #34879D #4BAAC3 #79C0D3

Accessibility & contrast

On white

4.12
#34879D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#34879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34879D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34879D#FFFFFF#000000##000000
##34879D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839E
Deuteranopia (green-blind)
#6A789D
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #34879d;
/* rgb */ color: rgb(52, 135, 157);
/* oklch */ color: oklch(58.2% 0.085 218.5);
Tailwind
colors: {
  custom: {
    50: '#78aaba',
    500: '#34879d',
    950: '#000000',
  },
}
SCSS
$custom: #34879d;
$custom-light: #78aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#34879d",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 192.571,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58244,
    "c": 0.08534,
    "h": 218.5
  },
  "luminance": 0.20492
}

Semantic roles & 50–950 ramp

primary
#34879D
secondary
#BB8172
accent
#6B4EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #34879D

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

Preview Lab → · Contrast checker → · Palette generator →

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