#34789F#34789F

#34789F is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.091 H 237.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#34789F
RGBrgb(52, 120, 159)
HSLhsl(202, 51%, 41%)
HSVhsv(202, 67%, 62%)
CMYKcmyk(67.3%, 24.5%, 0%, 37.6%)
CIE-LABlab(47.83, -8.67, -27.27)
CIE-LCHlch(47.83, 28.62, 252.36°)
OKLaboklab(54.64% -0.0498 -0.0766)
OKLCHoklch(54.64% 0.091 237)
XYZxyz(14.3882, 16.6647, 35.2525)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34789F #9F5B34
analogous
#349F91 #34789F #34439F
triadic
#34789F #9F3478 #789F34
tetradic
#34789F #91349F #9F5B34 #439F34
square
#34789F #91349F #9F5B34 #439F34
split-complementary
#34789F #9F3443 #9F9134
monochromatic
#163243 #255571 #34789F #4C98C4 #7AB3D3

Accessibility & contrast

On white

4.85
#34789F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#34789F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34789F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34789F#FFFFFF#000000##FFFFFF
##34789F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6677A1
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34789f;
/* rgb */ color: rgb(52, 120, 159);
/* oklch */ color: oklch(54.6% 0.091 237.0);
Tailwind
colors: {
  custom: {
    50: '#789ebb',
    500: '#34789f',
    950: '#000000',
  },
}
SCSS
$custom: #34789f;
$custom-light: #789ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#34789f",
  "rgb": {
    "r": 52,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 201.869,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54637,
    "c": 0.09138,
    "h": 237
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#34789F
secondary
#BC8D73
accent
#814EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #34789F

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

Preview Lab → · Contrast checker → · Palette generator →

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