#2E879F#2E879F

#2E879F is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.090 H 219.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2E879F
RGBrgb(46, 135, 159)
HSLhsl(193, 55%, 40%)
HSVhsv(193, 71%, 62%)
CMYKcmyk(71.1%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.30, -18.05, -20.40)
CIE-LCHlch(52.30, 27.23, 228.50°)
OKLaboklab(58.15% -0.0692 -0.0569)
OKLCHoklch(58.15% 0.09 219.4)
XYZxyz(16.0461, 20.4102, 35.8880)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E879F #9F462E
analogous
#2E9F7E #2E879F #2E4F9F
triadic
#2E879F #9F2E87 #879F2E
tetradic
#2E879F #7E2E9F #9F462E #4F9F2E
square
#2E879F #7E2E9F #9F462E #4F9F2E
split-complementary
#2E879F #9F2E4F #9F7E2E
monochromatic
#133640 #205F70 #2E879F #42ACC8 #71C1D6

Accessibility & contrast

On white

4.13
#2E879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2E879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E879F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E879F#FFFFFF#000000##000000
##2E879F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#68789F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e879f;
/* rgb */ color: rgb(46, 135, 159);
/* oklch */ color: oklch(58.2% 0.090 219.4);
Tailwind
colors: {
  custom: {
    50: '#76aabb',
    500: '#2e879f',
    950: '#000000',
  },
}
SCSS
$custom: #2e879f;
$custom-light: #76aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e879f",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 192.743,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58151,
    "c": 0.0896,
    "h": 219.4
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#2E879F
secondary
#BE7D6B
accent
#6949DE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2E879F

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

Preview Lab → · Contrast checker → · Palette generator →

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