#34798D#34798D

#34798D is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.0% C 0.075 H 219.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#34798D
RGBrgb(52, 121, 141)
HSLhsl(193, 46%, 38%)
HSVhsv(193, 63%, 55%)
CMYKcmyk(63.1%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.40, -15.27, -17.35)
CIE-LCHlch(47.40, 23.11, 228.65°)
OKLaboklab(54.04% -0.0578 -0.0483)
OKLCHoklch(54.04% 0.075 219.9)
XYZxyz(13.0593, 16.3266, 27.6572)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34798D #8D4834
analogous
#348D74 #34798D #344C8D
triadic
#34798D #8D3479 #798D34
tetradic
#34798D #74348D #8D4834 #4C8D34
square
#34798D #74348D #8D4834 #4C8D34
split-complementary
#34798D #8D344C #8D7434
monochromatic
#132C34 #245360 #34798D #449FBA #71B6CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34798D#FFFFFF#000000##FFFFFF
##34798D1.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)
#6D768E
Deuteranopia (green-blind)
#606C8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #34798d;
/* rgb */ color: rgb(52, 121, 141);
/* oklch */ color: oklch(54.0% 0.075 219.9);
Tailwind
colors: {
  custom: {
    50: '#759fae',
    500: '#34798d',
    950: '#000000',
  },
}
SCSS
$custom: #34798d;
$custom-light: #759fae;
$custom-dark: #000000;
JSON
{
  "hex": "#34798d",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 193.483,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.07532,
    "h": 219.9
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#34798D
secondary
#B37A6A
accent
#7052D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #34798D

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

Preview Lab → · Contrast checker → · Palette generator →

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