#2B879D#2B879D

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

Color values

HEX#2B879D
RGBrgb(43, 135, 157)
HSLhsl(192, 57%, 39%)
HSVhsv(192, 73%, 62%)
CMYKcmyk(72.6%, 14%, 0%, 38.4%)
CIE-LABlab(52.15, -19.14, -19.48)
CIE-LCHlch(52.15, 27.31, 225.51°)
OKLaboklab(57.98% -0.0715 -0.0543)
OKLCHoklch(57.98% 0.09 217.2)
XYZxyz(15.7435, 20.2740, 34.9753)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B879D #9D412B
analogous
#2B9D7A #2B879D #2B4E9D
triadic
#2B879D #9D2B87 #879D2B
tetradic
#2B879D #7A2B9D #9D412B #4E9D2B
square
#2B879D #7A2B9D #9D412B #4E9D2B
split-complementary
#2B879D #9D2B4E #9D7A2B
monochromatic
#11343D #1E5E6D #2B879D #3CAECA #6CC2D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B879D#FFFFFF#000000##000000
##2B879D1.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)
#69779D
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b879d;
/* rgb */ color: rgb(43, 135, 157);
/* oklch */ color: oklch(58.0% 0.090 217.2);
Tailwind
colors: {
  custom: {
    50: '#75aaba',
    500: '#2b879d',
    950: '#000000',
  },
}
SCSS
$custom: #2b879d;
$custom-light: #75aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b879d",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 191.579,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57982,
    "c": 0.0898,
    "h": 217.2
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#2B879D
secondary
#BD7766
accent
#6548E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2B879D

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

Preview Lab → · Contrast checker → · Palette generator →

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