#2B879C#2B879C

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

Color values

HEX#2B879C
RGBrgb(43, 135, 156)
HSLhsl(191, 57%, 39%)
HSVhsv(191, 72%, 61%)
CMYKcmyk(72.4%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.11, -19.47, -18.96)
CIE-LCHlch(52.11, 27.17, 224.24°)
OKLaboklab(57.94% -0.0719 -0.0528)
OKLCHoklch(57.94% 0.089 216.3)
XYZxyz(15.6585, 20.2400, 34.5275)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B879C #9C402B
analogous
#2B9C79 #2B879C #2B4F9C
triadic
#2B879C #9C2B87 #879C2B
tetradic
#2B879C #792B9C #9C402B #4F9C2B
square
#2B879C #792B9C #9C402B #4F9C2B
split-complementary
#2B879C #9C2B4F #9C792B
monochromatic
#11343C #1E5D6C #2B879C #3BAFC9 #6BC2D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B879C#FFFFFF#000000##000000
##2B879C1.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)
#79839D
Deuteranopia (green-blind)
#69779C
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b879c;
/* rgb */ color: rgb(43, 135, 156);
/* oklch */ color: oklch(57.9% 0.089 216.3);
Tailwind
colors: {
  custom: {
    50: '#75aab9',
    500: '#2b879c',
    950: '#000000',
  },
}
SCSS
$custom: #2b879c;
$custom-light: #75aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b879c",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 191.15,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.08924,
    "h": 216.3
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#2B879C
secondary
#BD7666
accent
#6448E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2B879C

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

Preview Lab → · Contrast checker → · Palette generator →

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