#3A798E#3A798E

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

Color values

HEX#3A798E
RGBrgb(58, 121, 142)
HSLhsl(195, 42%, 39%)
HSVhsv(195, 59%, 56%)
CMYKcmyk(59.2%, 14.8%, 0%, 44.3%)
CIE-LABlab(47.66, -13.75, -17.53)
CIE-LCHlch(47.66, 22.28, 231.90°)
OKLaboklab(54.32% -0.0533 -0.0487)
OKLCHoklch(54.32% 0.072 222.4)
XYZxyz(13.4629, 16.5260, 28.0663)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A798E #8E4F3A
analogous
#3A8E79 #3A798E #3A4F8E
triadic
#3A798E #8E3A79 #798E3A
tetradic
#3A798E #793A8E #8E4F3A #4F8E3A
square
#3A798E #793A8E #8E4F3A #4F8E3A
split-complementary
#3A798E #8E3A4F #8E793A
monochromatic
#172F37 #285463 #3A798E #4E9DB7 #7AB5C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A798E#FFFFFF#000000##FFFFFF
##3A798E1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.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: #3a798e;
/* rgb */ color: rgb(58, 121, 142);
/* oklch */ color: oklch(54.3% 0.072 222.4);
Tailwind
colors: {
  custom: {
    50: '#789faf',
    500: '#3a798e',
    950: '#000000',
  },
}
SCSS
$custom: #3a798e;
$custom-light: #789faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a798e",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 195,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.0722,
    "h": 222.4
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#3A798E
secondary
#B28272
accent
#7556D2
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #3A798E

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

Preview Lab → · Contrast checker → · Palette generator →

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