#2B879F#2B879F

#2B879F is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.1% C 0.091 H 219.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2B879F
RGBrgb(43, 135, 159)
HSLhsl(192, 57%, 40%)
HSVhsv(192, 73%, 62%)
CMYKcmyk(73%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.22, -18.47, -20.52)
CIE-LCHlch(52.22, 27.61, 228.01°)
OKLaboklab(58.07% -0.0707 -0.0573)
OKLCHoklch(58.07% 0.091 219)
XYZxyz(15.9156, 20.3429, 35.8819)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B879F #9F432B
analogous
#2B9F7D #2B879F #2B4D9F
triadic
#2B879F #9F2B87 #879F2B
tetradic
#2B879F #7D2B9F #9F432B #4D9F2B
square
#2B879F #7D2B9F #9F432B #4D9F2B
split-complementary
#2B879F #9F2B4D #9F7D2B
monochromatic
#11353F #1E5E6F #2B879F #3DADCA #6DC1D7

Accessibility & contrast

On white

4.14
#2B879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2B879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B879F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B879F#FFFFFF#000000##000000
##2B879F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#68779F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2b879f;
/* rgb */ color: rgb(43, 135, 159);
/* oklch */ color: oklch(58.1% 0.091 219.0);
Tailwind
colors: {
  custom: {
    50: '#75aabb',
    500: '#2b879f',
    950: '#000000',
  },
}
SCSS
$custom: #2b879f;
$custom-light: #75aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b879f",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 192.414,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.09098,
    "h": 219
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#2B879F
secondary
#BE7967
accent
#6747E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2B879F

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

Preview Lab → · Contrast checker → · Palette generator →

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