#34799D#34799D

#34799D is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.089 H 234.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#34799D
RGBrgb(52, 121, 157)
HSLhsl(201, 50%, 41%)
HSVhsv(201, 67%, 62%)
CMYKcmyk(66.9%, 22.9%, 0%, 38.4%)
CIE-LABlab(48.05, -9.94, -25.76)
CIE-LCHlch(48.05, 27.61, 248.90°)
OKLaboklab(54.78% -0.0516 -0.0723)
OKLCHoklch(54.78% 0.089 234.5)
XYZxyz(14.3370, 16.8376, 34.3862)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34799D #9D5834
analogous
#349D8C #34799D #34459D
triadic
#34799D #9D3479 #799D34
tetradic
#34799D #8C349D #9D5834 #459D34
square
#34799D #8C349D #9D5834 #459D34
split-complementary
#34799D #9D3445 #9D8C34
monochromatic
#163241 #25566F #34799D #4B9AC3 #79B4D3

Accessibility & contrast

On white

4.81
#34799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#34799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34799D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34799D#FFFFFF#000000##FFFFFF
##34799D1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789F
Deuteranopia (green-blind)
#596D9C
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #34799d;
/* rgb */ color: rgb(52, 121, 157);
/* oklch */ color: oklch(54.8% 0.089 234.5);
Tailwind
colors: {
  custom: {
    50: '#779fba',
    500: '#34799d',
    950: '#000000',
  },
}
SCSS
$custom: #34799d;
$custom-light: #779fba;
$custom-dark: #000000;
JSON
{
  "hex": "#34799d",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 200.571,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.08879,
    "h": 234.5
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#34799D
secondary
#BB8B72
accent
#7E4EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #34799D

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

Preview Lab → · Contrast checker → · Palette generator →

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