#3A798D#3A798D

#3A798D is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.071 H 221.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A798D
RGBrgb(58, 121, 141)
HSLhsl(194, 42%, 39%)
HSVhsv(194, 59%, 55%)
CMYKcmyk(58.9%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.62, -14.06, -17.00)
CIE-LCHlch(47.62, 22.06, 230.39°)
OKLaboklab(54.28% -0.0537 -0.0472)
OKLCHoklch(54.28% 0.071 221.3)
XYZxyz(13.3881, 16.4961, 27.6727)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A798D #8D4E3A
analogous
#3A8D78 #3A798D #3A508D
triadic
#3A798D #8D3A79 #798D3A
tetradic
#3A798D #783A8D #8D4E3A #508D3A
square
#3A798D #783A8D #8D4E3A #508D3A
split-complementary
#3A798D #8D3A50 #8D783A
monochromatic
#162F36 #285462 #3A798D #4E9DB6 #79B5C8

Accessibility & contrast

On white

4.88
#3A798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3A798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A798D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A798D#FFFFFF#000000##FFFFFF
##3A798D1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D768E
Deuteranopia (green-blind)
#616D8D
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a798d;
/* rgb */ color: rgb(58, 121, 141);
/* oklch */ color: oklch(54.3% 0.071 221.3);
Tailwind
colors: {
  custom: {
    50: '#789fae',
    500: '#3a798d',
    950: '#000000',
  },
}
SCSS
$custom: #3a798d;
$custom-light: #789fae;
$custom-dark: #000000;
JSON
{
  "hex": "#3a798d",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 194.458,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5428,
    "c": 0.07149,
    "h": 221.3
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

primary
#3A798D
secondary
#B18171
accent
#7456D2
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #3A798D

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

Preview Lab → · Contrast checker → · Palette generator →

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