#3A798F#3A798F

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

Color values

HEX#3A798F
RGBrgb(58, 121, 143)
HSLhsl(196, 42%, 39%)
HSVhsv(196, 59%, 56%)
CMYKcmyk(59.4%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.70, -13.43, -18.06)
CIE-LCHlch(47.70, 22.51, 233.37°)
OKLaboklab(54.37% -0.0529 -0.0502)
OKLCHoklch(54.37% 0.073 223.5)
XYZxyz(13.5383, 16.5562, 28.4635)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A798F #8F503A
analogous
#3A8F7B #3A798F #3A4F8F
triadic
#3A798F #8F3A79 #798F3A
tetradic
#3A798F #7B3A8F #8F503A #4F8F3A
square
#3A798F #7B3A8F #8F503A #4F8F3A
split-complementary
#3A798F #8F3A4F #8F7B3A
monochromatic
#172F38 #285463 #3A798F #4F9CB7 #7AB5C9

Accessibility & contrast

On white

4.87
#3A798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3A798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A798F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A798F#FFFFFF#000000##FFFFFF
##3A798F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#606D8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a798f;
/* rgb */ color: rgb(58, 121, 143);
/* oklch */ color: oklch(54.4% 0.073 223.5);
Tailwind
colors: {
  custom: {
    50: '#789faf',
    500: '#3a798f',
    950: '#000000',
  },
}
SCSS
$custom: #3a798f;
$custom-light: #789faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a798f",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 195.529,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.07292,
    "h": 223.5
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#3A798F
secondary
#B38372
accent
#7656D2
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #3A798F

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

Preview Lab → · Contrast checker → · Palette generator →

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