#34879E#34879E

#34879E is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.086 H 219.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#34879E
RGBrgb(52, 135, 158)
HSLhsl(193, 50%, 41%)
HSVhsv(193, 67%, 62%)
CMYKcmyk(67.1%, 14.6%, 0%, 38%)
CIE-LABlab(52.43, -17.43, -19.61)
CIE-LCHlch(52.43, 26.24, 228.36°)
OKLaboklab(58.29% -0.0664 -0.0546)
OKLCHoklch(58.29% 0.086 219.5)
XYZxyz(16.2492, 20.5249, 35.4465)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34879E #9E4B34
analogous
#349E80 #34879E #34529E
triadic
#34879E #9E3487 #879E34
tetradic
#34879E #80349E #9E4B34 #529E34
square
#34879E #80349E #9E4B34 #529E34
split-complementary
#34879E #9E3452 #9E8034
monochromatic
#163842 #256070 #34879E #4BAAC4 #79C0D3

Accessibility & contrast

On white

4.11
#34879E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#34879E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34879E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34879E#FFFFFF#000000##000000
##34879E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34879e;
/* rgb */ color: rgb(52, 135, 158);
/* oklch */ color: oklch(58.3% 0.086 219.5);
Tailwind
colors: {
  custom: {
    50: '#78aaba',
    500: '#34879e',
    950: '#000000',
  },
}
SCSS
$custom: #34879e;
$custom-light: #78aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#34879e",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 193.019,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.08595,
    "h": 219.5
  },
  "luminance": 0.20527
}

Semantic roles & 50–950 ramp

primary
#34879E
secondary
#BC8272
accent
#6C4EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #34879E

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

Preview Lab → · Contrast checker → · Palette generator →

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