#2E879D#2E879D

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

Color values

HEX#2E879D
RGBrgb(46, 135, 157)
HSLhsl(192, 55%, 40%)
HSVhsv(192, 71%, 62%)
CMYKcmyk(70.7%, 14%, 0%, 38.4%)
CIE-LABlab(52.22, -18.71, -19.36)
CIE-LCHlch(52.22, 26.92, 225.98°)
OKLaboklab(58.06% -0.07 -0.054)
OKLCHoklch(58.06% 0.088 217.6)
XYZxyz(15.8740, 20.3413, 34.9814)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E879D #9D442E
analogous
#2E9D7C #2E879D #2E4F9D
triadic
#2E879D #9D2E87 #879D2E
tetradic
#2E879D #7C2E9D #9D442E #4F9D2E
square
#2E879D #7C2E9D #9D442E #4F9D2E
split-complementary
#2E879D #9D2E4F #9D7C2E
monochromatic
#12363E #205E6E #2E879D #41ADC7 #70C1D5

Accessibility & contrast

On white

4.14
#2E879D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2E879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E879D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E879D#FFFFFF#000000##000000
##2E879D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839E
Deuteranopia (green-blind)
#69789D
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e879d;
/* rgb */ color: rgb(46, 135, 157);
/* oklch */ color: oklch(58.1% 0.088 217.6);
Tailwind
colors: {
  custom: {
    50: '#76aaba',
    500: '#2e879d',
    950: '#000000',
  },
}
SCSS
$custom: #2e879d;
$custom-light: #76aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e879d",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 191.892,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.0884,
    "h": 217.6
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#2E879D
secondary
#BD7B6A
accent
#674ADE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2E879D

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

Preview Lab → · Contrast checker → · Palette generator →

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