#34789D#34789D

#34789D is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.089 H 235.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#34789D
RGBrgb(52, 120, 157)
HSLhsl(201, 50%, 41%)
HSVhsv(201, 67%, 62%)
CMYKcmyk(66.9%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.75, -9.36, -26.24)
CIE-LCHlch(47.75, 27.86, 250.37°)
OKLaboklab(54.54% -0.0505 -0.0736)
OKLCHoklch(54.54% 0.089 235.6)
XYZxyz(14.2161, 16.5958, 34.3459)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34789D #9D5934
analogous
#349D8D #34789D #34439D
triadic
#34789D #9D3478 #789D34
tetradic
#34789D #8D349D #9D5934 #439D34
square
#34789D #8D349D #9D5934 #439D34
split-complementary
#34789D #9D3443 #9D8D34
monochromatic
#163241 #25556F #34789D #4B99C3 #79B3D3

Accessibility & contrast

On white

4.86
#34789D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#34789D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34789D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34789D#FFFFFF#000000##FFFFFF
##34789D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66779F
Deuteranopia (green-blind)
#586D9C
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34789d;
/* rgb */ color: rgb(52, 120, 157);
/* oklch */ color: oklch(54.5% 0.089 235.6);
Tailwind
colors: {
  custom: {
    50: '#779eba',
    500: '#34789d',
    950: '#000000',
  },
}
SCSS
$custom: #34789d;
$custom-light: #779eba;
$custom-dark: #000000;
JSON
{
  "hex": "#34789d",
  "rgb": {
    "r": 52,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 201.143,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.08931,
    "h": 235.6
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

primary
#34789D
secondary
#BB8C72
accent
#7F4EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #34789D

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

Preview Lab → · Contrast checker → · Palette generator →

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