#34798A#34798A

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

Color values

HEX#34798A
RGBrgb(52, 121, 138)
HSLhsl(192, 45%, 37%)
HSVhsv(192, 62%, 54%)
CMYKcmyk(62.3%, 12.3%, 0%, 45.9%)
CIE-LABlab(47.29, -16.24, -15.75)
CIE-LCHlch(47.29, 22.62, 224.13°)
OKLaboklab(53.91% -0.0591 -0.0437)
OKLCHoklch(53.91% 0.074 216.5)
XYZxyz(12.8391, 16.2385, 26.4975)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34798A #8A4534
analogous
#348A70 #34798A #344E8A
triadic
#34798A #8A3479 #798A34
tetradic
#34798A #70348A #8A4534 #4E8A34
square
#34798A #70348A #8A4534 #4E8A34
split-complementary
#34798A #8A344E #8A7034
monochromatic
#132B31 #23525E #34798A #45A0B6 #6FB7C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34798A#FFFFFF#000000##FFFFFF
##34798A1.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)
#6D758B
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #34798a;
/* rgb */ color: rgb(52, 121, 138);
/* oklch */ color: oklch(53.9% 0.074 216.5);
Tailwind
colors: {
  custom: {
    50: '#759fac',
    500: '#34798a',
    950: '#000000',
  },
}
SCSS
$custom: #34798a;
$custom-light: #759fac;
$custom-dark: #000000;
JSON
{
  "hex": "#34798a",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 191.86,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53914,
    "c": 0.07351,
    "h": 216.5
  },
  "luminance": 0.1624
}

Semantic roles & 50–950 ramp

primary
#34798A
secondary
#B17769
accent
#6D53D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #34798A

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

Preview Lab → · Contrast checker → · Palette generator →

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