#34879F#34879F

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

Color values

HEX#34879F
RGBrgb(52, 135, 159)
HSLhsl(193, 51%, 41%)
HSVhsv(193, 67%, 62%)
CMYKcmyk(67.3%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.46, -17.11, -20.13)
CIE-LCHlch(52.46, 26.42, 229.64°)
OKLaboklab(58.33% -0.0659 -0.0561)
OKLCHoklch(58.33% 0.087 220.4)
XYZxyz(16.3356, 20.5594, 35.9016)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34879F #9F4C34
analogous
#349F82 #34879F #34529F
triadic
#34879F #9F3487 #879F34
tetradic
#34879F #82349F #9F4C34 #529F34
square
#34879F #82349F #9F4C34 #529F34
split-complementary
#34879F #9F3452 #9F8234
monochromatic
#163943 #256071 #34879F #4CA9C4 #7ABFD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34879F#FFFFFF#000000##000000
##34879F1.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)
#7883A0
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #34879f;
/* rgb */ color: rgb(52, 135, 159);
/* oklch */ color: oklch(58.3% 0.087 220.4);
Tailwind
colors: {
  custom: {
    50: '#79aabb',
    500: '#34879f',
    950: '#000000',
  },
}
SCSS
$custom: #34879f;
$custom-light: #79aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#34879f",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 193.458,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.0866,
    "h": 220.4
  },
  "luminance": 0.20561
}

Semantic roles & 50–950 ramp

primary
#34879F
secondary
#BC8373
accent
#6D4EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #34879F

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

Preview Lab → · Contrast checker → · Palette generator →

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