#2D879B#2D879B

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

Color values

HEX#2D879B
RGBrgb(45, 135, 155)
HSLhsl(191, 55%, 39%)
HSVhsv(191, 71%, 61%)
CMYKcmyk(71%, 12.9%, 0%, 39.2%)
CIE-LABlab(52.12, -19.51, -18.36)
CIE-LCHlch(52.12, 26.79, 223.25°)
OKLaboklab(57.95% -0.0713 -0.0511)
OKLCHoklch(57.95% 0.088 215.6)
XYZxyz(15.6601, 20.2506, 34.0874)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D879B #9B412D
analogous
#2D9B78 #2D879B #2D509B
triadic
#2D879B #9B2D87 #879B2D
tetradic
#2D879B #782D9B #9B412D #509B2D
square
#2D879B #782D9B #9B412D #509B2D
split-complementary
#2D879B #9B2D50 #9B782D
monochromatic
#11343C #1F5E6C #2D879B #3EAEC7 #6EC2D5

Accessibility & contrast

On white

4.16
#2D879B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2D879B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D879B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D879B#FFFFFF#000000##000000
##2D879B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839C
Deuteranopia (green-blind)
#6A779B
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d879b;
/* rgb */ color: rgb(45, 135, 155);
/* oklch */ color: oklch(57.9% 0.088 215.6);
Tailwind
colors: {
  custom: {
    50: '#75aab8',
    500: '#2d879b',
    950: '#000000',
  },
}
SCSS
$custom: #2d879b;
$custom-light: #75aab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d879b",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 190.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.08778,
    "h": 215.6
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#2D879B
secondary
#BC7768
accent
#6549DE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2D879B

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

Preview Lab → · Contrast checker → · Palette generator →

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