#34798E#34798E

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

Color values

HEX#34798E
RGBrgb(52, 121, 142)
HSLhsl(194, 46%, 38%)
HSVhsv(194, 63%, 56%)
CMYKcmyk(63.4%, 14.8%, 0%, 44.3%)
CIE-LABlab(47.44, -14.94, -17.88)
CIE-LCHlch(47.44, 23.31, 230.11°)
OKLaboklab(54.09% -0.0574 -0.0498)
OKLCHoklch(54.09% 0.076 220.9)
XYZxyz(13.1341, 16.3565, 28.0509)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34798E #8E4934
analogous
#348E76 #34798E #344C8E
triadic
#34798E #8E3479 #798E34
tetradic
#34798E #76348E #8E4934 #4C8E34
square
#34798E #76348E #8E4934 #4C8E34
split-complementary
#34798E #8E344C #8E7634
monochromatic
#132D34 #245361 #34798E #449FBB #71B6CB

Accessibility & contrast

On white

4.92
#34798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#34798E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34798E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34798E#FFFFFF#000000##FFFFFF
##34798E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34798e;
/* rgb */ color: rgb(52, 121, 142);
/* oklch */ color: oklch(54.1% 0.076 220.9);
Tailwind
colors: {
  custom: {
    50: '#759faf',
    500: '#34798e',
    950: '#000000',
  },
}
SCSS
$custom: #34798e;
$custom-light: #759faf;
$custom-dark: #000000;
JSON
{
  "hex": "#34798e",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 194,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.07598,
    "h": 220.9
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#34798E
secondary
#B37B6A
accent
#7152D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #34798E

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

Preview Lab → · Contrast checker → · Palette generator →

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