#34799B#34799B

#34799B is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.087 H 232.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#34799B
RGBrgb(52, 121, 155)
HSLhsl(200, 50%, 41%)
HSVhsv(200, 66%, 61%)
CMYKcmyk(66.5%, 21.9%, 0%, 39.2%)
CIE-LABlab(47.97, -10.62, -24.72)
CIE-LCHlch(47.97, 26.90, 246.75°)
OKLaboklab(54.69% -0.0523 -0.0693)
OKLCHoklch(54.69% 0.087 232.9)
XYZxyz(14.1676, 16.7699, 33.4943)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34799B #9B5634
analogous
#349B89 #34799B #34459B
triadic
#34799B #9B3479 #799B34
tetradic
#34799B #89349B #9B5634 #459B34
square
#34799B #89349B #9B5634 #459B34
split-complementary
#34799B #9B3445 #9B8934
monochromatic
#15313F #25556D #34799B #4A9BC2 #78B4D2

Accessibility & contrast

On white

4.82
#34799B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #34799B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34799B#FFFFFF#000000##FFFFFF
##34799B1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789D
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #34799b;
/* rgb */ color: rgb(52, 121, 155);
/* oklch */ color: oklch(54.7% 0.087 232.9);
Tailwind
colors: {
  custom: {
    50: '#779fb8',
    500: '#34799b',
    950: '#000000',
  },
}
SCSS
$custom: #34799b;
$custom-light: #779fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#34799b",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 199.806,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.08682,
    "h": 232.9
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

primary
#34799B
secondary
#BA8971
accent
#7C4FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #34799B

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

Preview Lab → · Contrast checker → · Palette generator →

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