#34798B#34798B

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

Color values

HEX#34798B
RGBrgb(52, 121, 139)
HSLhsl(192, 46%, 37%)
HSVhsv(192, 63%, 55%)
CMYKcmyk(62.6%, 12.9%, 0%, 45.5%)
CIE-LABlab(47.32, -15.91, -16.29)
CIE-LCHlch(47.32, 22.77, 225.66°)
OKLaboklab(53.96% -0.0586 -0.0452)
OKLCHoklch(53.96% 0.074 217.7)
XYZxyz(12.9119, 16.2676, 26.8806)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34798B #8B4634
analogous
#348B72 #34798B #344D8B
triadic
#34798B #8B3479 #798B34
tetradic
#34798B #72348B #8B4634 #4D8B34
square
#34798B #72348B #8B4634 #4D8B34
split-complementary
#34798B #8B344D #8B7234
monochromatic
#132B32 #23525E #34798B #45A0B8 #70B7C9

Accessibility & contrast

On white

4.94
#34798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#34798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34798B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34798B#FFFFFF#000000##FFFFFF
##34798B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D768C
Deuteranopia (green-blind)
#616C8B
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #34798b;
/* rgb */ color: rgb(52, 121, 139);
/* oklch */ color: oklch(54.0% 0.074 217.7);
Tailwind
colors: {
  custom: {
    50: '#759fad',
    500: '#34798b',
    950: '#000000',
  },
}
SCSS
$custom: #34798b;
$custom-light: #759fad;
$custom-dark: #000000;
JSON
{
  "hex": "#34798b",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 192.414,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53957,
    "c": 0.07408,
    "h": 217.7
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#34798B
secondary
#B27869
accent
#6E53D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #34798B

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

Preview Lab → · Contrast checker → · Palette generator →

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