#34799A#34799A

#34799A is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.086 H 232.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#34799A
RGBrgb(52, 121, 154)
HSLhsl(199, 50%, 40%)
HSVhsv(199, 66%, 60%)
CMYKcmyk(66.2%, 21.4%, 0%, 39.6%)
CIE-LABlab(47.93, -10.96, -24.20)
CIE-LCHlch(47.93, 26.56, 245.64°)
OKLaboklab(54.64% -0.0527 -0.0678)
OKLCHoklch(54.64% 0.086 232.1)
XYZxyz(14.0840, 16.7364, 33.0538)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34799A #9A5534
analogous
#349A88 #34799A #34469A
triadic
#34799A #9A3479 #799A34
tetradic
#34799A #88349A #9A5534 #469A34
square
#34799A #88349A #9A5534 #469A34
split-complementary
#34799A #9A3446 #9A8834
monochromatic
#15313E #25556C #34799A #499BC2 #77B4D1

Accessibility & contrast

On white

4.83
#34799A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#34799A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34799A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34799A#FFFFFF#000000##FFFFFF
##34799A1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69789C
Deuteranopia (green-blind)
#5B6D9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #34799a;
/* rgb */ color: rgb(52, 121, 154);
/* oklch */ color: oklch(54.6% 0.086 232.1);
Tailwind
colors: {
  custom: {
    50: '#779fb8',
    500: '#34799a',
    950: '#000000',
  },
}
SCSS
$custom: #34799a;
$custom-light: #779fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#34799a",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 199.412,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.08586,
    "h": 232.1
  },
  "luminance": 0.16738
}

Semantic roles & 50–950 ramp

primary
#34799A
secondary
#BA8870
accent
#7B4FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #34799A

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

Preview Lab → · Contrast checker → · Palette generator →

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