#2E798B#2E798B

#2E798B is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.7% C 0.078 H 216.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2E798B
RGBrgb(46, 121, 139)
HSLhsl(192, 50%, 36%)
HSVhsv(192, 67%, 55%)
CMYKcmyk(66.9%, 12.9%, 0%, 45.5%)
CIE-LABlab(47.13, -17.01, -16.60)
CIE-LCHlch(47.13, 23.77, 224.30°)
OKLaboklab(53.75% -0.0624 -0.0462)
OKLCHoklch(53.75% 0.078 216.5)
XYZxyz(12.6224, 16.1183, 26.8670)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E798B #8B402E
analogous
#2E8B6F #2E798B #2E4B8B
triadic
#2E798B #8B2E79 #798B2E
tetradic
#2E798B #6F2E8B #8B402E #4B8B2E
square
#2E798B #6F2E8B #8B402E #4B8B2E
split-complementary
#2E798B #8B2E4B #8B6F2E
monochromatic
#10292F #1F515D #2E798B #3DA1B9 #67B9CD

Accessibility & contrast

On white

4.97
#2E798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2E798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E798B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E798B#FFFFFF#000000##FFFFFF
##2E798B1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758C
Deuteranopia (green-blind)
#606B8B
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e798b;
/* rgb */ color: rgb(46, 121, 139);
/* oklch */ color: oklch(53.7% 0.078 216.5);
Tailwind
colors: {
  custom: {
    50: '#72a0ad',
    500: '#2e798b',
    950: '#000000',
  },
}
SCSS
$custom: #2e798b;
$custom-light: #72a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e798b",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 191.613,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.07762,
    "h": 216.5
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#2E798B
secondary
#B37161
accent
#694EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2E798B

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

Preview Lab → · Contrast checker → · Palette generator →

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