#3C798E#3C798E

#3C798E is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.071 H 223.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3C798E
RGBrgb(60, 121, 142)
HSLhsl(195, 41%, 40%)
HSVhsv(195, 58%, 56%)
CMYKcmyk(57.7%, 14.8%, 0%, 44.3%)
CIE-LABlab(47.74, -13.32, -17.40)
CIE-LCHlch(47.74, 21.92, 232.57°)
OKLaboklab(54.41% -0.0518 -0.0483)
OKLCHoklch(54.41% 0.071 223)
XYZxyz(13.5814, 16.5871, 28.0718)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C798E #8E513C
analogous
#3C8E7A #3C798E #3C508E
triadic
#3C798E #8E3C79 #798E3C
tetradic
#3C798E #7A3C8E #8E513C #508E3C
square
#3C798E #7A3C8E #8E513C #508E3C
split-complementary
#3C798E #8E3C50 #8E7A3C
monochromatic
#183038 #2A5463 #3C798E #529CB6 #7DB5C8

Accessibility & contrast

On white

4.86
#3C798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3C798E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C798E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C798E#FFFFFF#000000##FFFFFF
##3C798E1.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)
#6D768F
Deuteranopia (green-blind)
#616D8E
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3c798e;
/* rgb */ color: rgb(60, 121, 142);
/* oklch */ color: oklch(54.4% 0.071 223.0);
Tailwind
colors: {
  custom: {
    50: '#799faf',
    500: '#3c798e',
    950: '#000000',
  },
}
SCSS
$custom: #3c798e;
$custom-light: #799faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c798e",
  "rgb": {
    "r": 60,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 195.366,
    "s": 40.594,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.07087,
    "h": 223
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#3C798E
secondary
#B28474
accent
#7657D0
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E10
muted
#7C7E7F

Preview Lab

Preview with #3C798E

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

Preview Lab → · Contrast checker → · Palette generator →

#3C798E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva