#2B879B#2B879B

#2B879B is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.9% C 0.089 H 215.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2B879B
RGBrgb(43, 135, 155)
HSLhsl(191, 57%, 39%)
HSVhsv(191, 72%, 61%)
CMYKcmyk(72.3%, 12.9%, 0%, 39.2%)
CIE-LABlab(52.07, -19.80, -18.44)
CIE-LCHlch(52.07, 27.05, 222.96°)
OKLaboklab(57.9% -0.0723 -0.0514)
OKLCHoklch(57.9% 0.089 215.4)
XYZxyz(15.5741, 20.2063, 34.0834)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B879B #9B3F2B
analogous
#2B9B77 #2B879B #2B4F9B
triadic
#2B879B #9B2B87 #879B2B
tetradic
#2B879B #772B9B #9B3F2B #4F9B2B
square
#2B879B #772B9B #9B3F2B #4F9B2B
split-complementary
#2B879B #9B2B4F #9B772B
monochromatic
#10343B #1E5D6B #2B879B #3BAFC9 #6BC3D6

Accessibility & contrast

On white

4.17
#2B879B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2B879B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B879B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B879B#FFFFFF#000000##000000
##2B879B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b879b;
/* rgb */ color: rgb(43, 135, 155);
/* oklch */ color: oklch(57.9% 0.089 215.4);
Tailwind
colors: {
  custom: {
    50: '#75aab8',
    500: '#2b879b',
    950: '#000000',
  },
}
SCSS
$custom: #2b879b;
$custom-light: #75aab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b879b",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 190.714,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.08872,
    "h": 215.4
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#2B879B
secondary
#BC7565
accent
#6348E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2B879B

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

Preview Lab → · Contrast checker → · Palette generator →

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