#2F798D#2F798D

#2F798D is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.078 H 218.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F798D
RGBrgb(47, 121, 141)
HSLhsl(193, 50%, 37%)
HSVhsv(193, 67%, 55%)
CMYKcmyk(66.7%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.24, -16.18, -17.62)
CIE-LCHlch(47.24, 23.92, 227.43°)
OKLaboklab(53.87% -0.0609 -0.0491)
OKLCHoklch(53.87% 0.078 218.8)
XYZxyz(12.8154, 16.2008, 27.6458)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F798D #8D432F
analogous
#2F8D72 #2F798D #2F4A8D
triadic
#2F798D #8D2F79 #798D2F
tetradic
#2F798D #722F8D #8D432F #4A8D2F
square
#2F798D #722F8D #8D432F #4A8D2F
split-complementary
#2F798D #8D2F4A #8D722F
monochromatic
#102A31 #20525F #2F798D #3EA0BB #69B8CD

Accessibility & contrast

On white

4.95
#2F798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2F798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F798D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F798D#FFFFFF#000000##FFFFFF
##2F798D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C768E
Deuteranopia (green-blind)
#5F6C8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f798d;
/* rgb */ color: rgb(47, 121, 141);
/* oklch */ color: oklch(53.9% 0.078 218.8);
Tailwind
colors: {
  custom: {
    50: '#739fae',
    500: '#2f798d',
    950: '#000000',
  },
}
SCSS
$custom: #2f798d;
$custom-light: #739fae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f798d",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 192.766,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.07824,
    "h": 218.8
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#2F798D
secondary
#B47564
accent
#6C4EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F798D

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

Preview Lab → · Contrast checker → · Palette generator →

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