#2D879D#2D879D

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

Color values

HEX#2D879D
RGBrgb(45, 135, 157)
HSLhsl(192, 55%, 40%)
HSVhsv(192, 71%, 62%)
CMYKcmyk(71.3%, 14%, 0%, 38.4%)
CIE-LABlab(52.20, -18.85, -19.40)
CIE-LCHlch(52.20, 27.05, 225.82°)
OKLaboklab(58.04% -0.0705 -0.0541)
OKLCHoklch(58.04% 0.089 217.5)
XYZxyz(15.8294, 20.3183, 34.9793)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D879D #9D432D
analogous
#2D9D7B #2D879D #2D4F9D
triadic
#2D879D #9D2D87 #879D2D
tetradic
#2D879D #7B2D9D #9D432D #4F9D2D
square
#2D879D #7B2D9D #9D432D #4F9D2D
split-complementary
#2D879D #9D2D4F #9D7B2D
monochromatic
#12353E #1F5E6D #2D879D #3FADC8 #6FC1D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D879D#FFFFFF#000000##000000
##2D879D1.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)
#79839E
Deuteranopia (green-blind)
#69789D
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d879d;
/* rgb */ color: rgb(45, 135, 157);
/* oklch */ color: oklch(58.0% 0.089 217.5);
Tailwind
colors: {
  custom: {
    50: '#76aaba',
    500: '#2d879d',
    950: '#000000',
  },
}
SCSS
$custom: #2d879d;
$custom-light: #76aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d879d",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 191.786,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.08888,
    "h": 217.5
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#2D879D
secondary
#BD7969
accent
#6649DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2D879D

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

Preview Lab → · Contrast checker → · Palette generator →

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