#2F798F#2F798F

#2F798F is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.0% C 0.080 H 220.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2F798F
RGBrgb(47, 121, 143)
HSLhsl(194, 51%, 37%)
HSVhsv(194, 67%, 56%)
CMYKcmyk(67.1%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.31, -15.52, -18.68)
CIE-LCHlch(47.31, 24.28, 230.27°)
OKLaboklab(53.96% -0.0601 -0.0521)
OKLCHoklch(53.96% 0.08 220.9)
XYZxyz(12.9656, 16.2609, 28.4366)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F798F #8F452F
analogous
#2F8F75 #2F798F #2F498F
triadic
#2F798F #8F2F79 #798F2F
tetradic
#2F798F #752F8F #8F452F #498F2F
square
#2F798F #752F8F #8F452F #498F2F
split-complementary
#2F798F #8F2F49 #8F752F
monochromatic
#112B33 #205261 #2F798F #3EA0BD #6AB7CE

Accessibility & contrast

On white

4.94
#2F798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2F798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F798F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F798F#FFFFFF#000000##FFFFFF
##2F798F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f798f;
/* rgb */ color: rgb(47, 121, 143);
/* oklch */ color: oklch(54.0% 0.080 220.9);
Tailwind
colors: {
  custom: {
    50: '#739faf',
    500: '#2f798f',
    950: '#000000',
  },
}
SCSS
$custom: #2f798f;
$custom-light: #739faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f798f",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 193.75,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.07954,
    "h": 220.9
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#2F798F
secondary
#B57765
accent
#6E4EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F798F

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

Preview Lab → · Contrast checker → · Palette generator →

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