#2E798D#2E798D

#2E798D is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.079 H 218.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2E798D
RGBrgb(46, 121, 141)
HSLhsl(193, 51%, 37%)
HSVhsv(193, 67%, 55%)
CMYKcmyk(67.4%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.21, -16.36, -17.66)
CIE-LCHlch(47.21, 24.07, 227.21°)
OKLaboklab(53.83% -0.0615 -0.0492)
OKLCHoklch(53.83% 0.079 218.6)
XYZxyz(12.7698, 16.1773, 27.6437)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E798D #8D422E
analogous
#2E8D72 #2E798D #2E4A8D
triadic
#2E798D #8D2E79 #798D2E
tetradic
#2E798D #722E8D #8D422E #4A8D2E
square
#2E798D #722E8D #8D422E #4A8D2E
split-complementary
#2E798D #8D2E4A #8D722E
monochromatic
#102A31 #1F515F #2E798D #3DA1BB #68B8CE

Accessibility & contrast

On white

4.96
#2E798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E798D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E798D#FFFFFF#000000##FFFFFF
##2E798D1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.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: #2e798d;
/* rgb */ color: rgb(46, 121, 141);
/* oklch */ color: oklch(53.8% 0.079 218.6);
Tailwind
colors: {
  custom: {
    50: '#739fae',
    500: '#2e798d',
    950: '#000000',
  },
}
SCSS
$custom: #2e798d;
$custom-light: #739fae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e798d",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 192.632,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.0788,
    "h": 218.6
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#2E798D
secondary
#B57462
accent
#6B4EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2E798D

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

Preview Lab → · Contrast checker → · Palette generator →

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