#3F798E#3F798E

#3F798E is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.5% C 0.069 H 223.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3F798E
RGBrgb(63, 121, 142)
HSLhsl(196, 39%, 40%)
HSVhsv(196, 56%, 56%)
CMYKcmyk(55.6%, 14.8%, 0%, 44.3%)
CIE-LABlab(47.86, -12.66, -17.20)
CIE-LCHlch(47.86, 21.36, 233.65°)
OKLaboklab(54.54% -0.0495 -0.0477)
OKLCHoklch(54.54% 0.069 223.9)
XYZxyz(13.7679, 16.6833, 28.0806)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F798E #8E543F
analogous
#3F8E7B #3F798E #3F528E
triadic
#3F798E #8E3F79 #798E3F
tetradic
#3F798E #7B3F8E #8E543F #528E3F
square
#3F798E #7B3F8E #8E543F #528E3F
split-complementary
#3F798E #8E3F52 #8E7B3F
monochromatic
#193139 #2C5564 #3F798E #569BB4 #81B4C7

Accessibility & contrast

On white

4.84
#3F798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3F798E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F798E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F798E#FFFFFF#000000##FFFFFF
##3F798E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D778F
Deuteranopia (green-blind)
#626E8E
Tritanopia (blue-blind)
#007F80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f798e;
/* rgb */ color: rgb(63, 121, 142);
/* oklch */ color: oklch(54.5% 0.069 223.9);
Tailwind
colors: {
  custom: {
    50: '#7b9faf',
    500: '#3f798e',
    950: '#000000',
  },
}
SCSS
$custom: #3f798e;
$custom-light: #7b9faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f798e",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 195.949,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.06881,
    "h": 223.9
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#3F798E
secondary
#B18778
accent
#7859CE
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E10
muted
#7C7E7F

Preview Lab

Preview with #3F798E

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

Preview Lab → · Contrast checker → · Palette generator →

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