#3F798F#3F798F

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

Color values

HEX#3F798F
RGBrgb(63, 121, 143)
HSLhsl(197, 39%, 40%)
HSVhsv(197, 56%, 56%)
CMYKcmyk(55.9%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.90, -12.35, -17.74)
CIE-LCHlch(47.90, 21.61, 235.15°)
OKLaboklab(54.58% -0.0491 -0.0492)
OKLCHoklch(54.58% 0.07 225.1)
XYZxyz(13.8433, 16.7134, 28.4778)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F798F #8F553F
analogous
#3F8F7D #3F798F #3F518F
triadic
#3F798F #8F3F79 #798F3F
tetradic
#3F798F #7D3F8F #8F553F #518F3F
square
#3F798F #7D3F8F #8F553F #518F3F
split-complementary
#3F798F #8F3F51 #8F7D3F
monochromatic
#1A313A #2C5565 #3F798F #569BB5 #81B4C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F798F#FFFFFF#000000##FFFFFF
##3F798F1.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)
#6D7790
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f798f;
/* rgb */ color: rgb(63, 121, 143);
/* oklch */ color: oklch(54.6% 0.070 225.1);
Tailwind
colors: {
  custom: {
    50: '#7b9faf',
    500: '#3f798f',
    950: '#000000',
  },
}
SCSS
$custom: #3f798f;
$custom-light: #7b9faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f798f",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 196.5,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54583,
    "c": 0.06957,
    "h": 225.1
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#3F798F
secondary
#B28878
accent
#7959CF
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E10
muted
#7C7E7F

Preview Lab

Preview with #3F798F

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

Preview Lab → · Contrast checker → · Palette generator →

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