#2D879C#2D879C

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

Color values

HEX#2D879C
RGBrgb(45, 135, 156)
HSLhsl(191, 55%, 39%)
HSVhsv(191, 71%, 61%)
CMYKcmyk(71.2%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.16, -19.18, -18.88)
CIE-LCHlch(52.16, 26.91, 224.54°)
OKLaboklab(57.99% -0.0709 -0.0526)
OKLCHoklch(57.99% 0.088 216.6)
XYZxyz(15.7444, 20.2843, 34.5315)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D879C #9C422D
analogous
#2D9C7A #2D879C #2D509C
triadic
#2D879C #9C2D87 #879C2D
tetradic
#2D879C #7A2D9C #9C422D #509C2D
square
#2D879C #7A2D9C #9C422D #509C2D
split-complementary
#2D879C #9C2D50 #9C7A2D
monochromatic
#12353D #1F5E6D #2D879C #3FAEC8 #6EC2D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D879C#FFFFFF#000000##000000
##2D879C1.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)
#69779C
Tritanopia (blue-blind)
#008E8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d879c;
/* rgb */ color: rgb(45, 135, 156);
/* oklch */ color: oklch(58.0% 0.088 216.6);
Tailwind
colors: {
  custom: {
    50: '#75aab9',
    500: '#2d879c',
    950: '#000000',
  },
}
SCSS
$custom: #2d879c;
$custom-light: #75aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d879c",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 191.351,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.08831,
    "h": 216.6
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#2D879C
secondary
#BC7868
accent
#6549DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2D879C

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

Preview Lab → · Contrast checker → · Palette generator →

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