#2E879C#2E879C

#2E879C is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.088 H 216.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2E879C
RGBrgb(46, 135, 156)
HSLhsl(191, 54%, 40%)
HSVhsv(191, 71%, 61%)
CMYKcmyk(70.5%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.18, -19.03, -18.84)
CIE-LCHlch(52.18, 26.78, 224.70°)
OKLaboklab(58.02% -0.0704 -0.0525)
OKLCHoklch(58.02% 0.088 216.7)
XYZxyz(15.7889, 20.3073, 34.5336)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E879C #9C432E
analogous
#2E9C7A #2E879C #2E509C
triadic
#2E879C #9C2E87 #879C2E
tetradic
#2E879C #7A2E9C #9C432E #509C2E
square
#2E879C #7A2E9C #9C432E #509C2E
split-complementary
#2E879C #9C2E50 #9C7A2E
monochromatic
#12353D #205E6D #2E879C #40ADC7 #70C1D5

Accessibility & contrast

On white

4.15
#2E879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2E879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E879C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E879C#FFFFFF#000000##000000
##2E879C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839D
Deuteranopia (green-blind)
#6A789C
Tritanopia (blue-blind)
#008E8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e879c;
/* rgb */ color: rgb(46, 135, 156);
/* oklch */ color: oklch(58.0% 0.088 216.7);
Tailwind
colors: {
  custom: {
    50: '#76aab9',
    500: '#2e879c',
    950: '#000000',
  },
}
SCSS
$custom: #2e879c;
$custom-light: #76aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e879c",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 191.455,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5802,
    "c": 0.08784,
    "h": 216.7
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

primary
#2E879C
secondary
#BC796A
accent
#664ADE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2E879C

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

Preview Lab → · Contrast checker → · Palette generator →

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