#34798F#34798F

#34798F is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.077 H 222.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#34798F
RGBrgb(52, 121, 143)
HSLhsl(195, 47%, 38%)
HSVhsv(195, 64%, 56%)
CMYKcmyk(63.6%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.48, -14.62, -18.41)
CIE-LCHlch(47.48, 23.51, 231.55°)
OKLaboklab(54.13% -0.057 -0.0513)
OKLCHoklch(54.13% 0.077 222)
XYZxyz(13.2095, 16.3866, 28.4481)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34798F #8F4A34
analogous
#348F77 #34798F #344C8F
triadic
#34798F #8F3479 #798F34
tetradic
#34798F #77348F #8F4A34 #4C8F34
square
#34798F #77348F #8F4A34 #4C8F34
split-complementary
#34798F #8F344C #8F7734
monochromatic
#132D35 #245362 #34798F #459FBB #72B6CC

Accessibility & contrast

On white

4.91
#34798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#34798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34798F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34798F#FFFFFF#000000##FFFFFF
##34798F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#5F6C8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34798f;
/* rgb */ color: rgb(52, 121, 143);
/* oklch */ color: oklch(54.1% 0.077 222.0);
Tailwind
colors: {
  custom: {
    50: '#759faf',
    500: '#34798f',
    950: '#000000',
  },
}
SCSS
$custom: #34798f;
$custom-light: #759faf;
$custom-dark: #000000;
JSON
{
  "hex": "#34798f",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 194.505,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.07667,
    "h": 222
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#34798F
secondary
#B47D6B
accent
#7251D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #34798F

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

Preview Lab → · Contrast checker → · Palette generator →

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