#2879B0#2879B0

#2879B0 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.4% C 0.115 H 243.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2879B0
RGBrgb(40, 121, 176)
HSLhsl(204, 63%, 42%)
HSVhsv(204, 77%, 69%)
CMYKcmyk(77.3%, 31.3%, 0%, 31%)
CIE-LABlab(48.58, -4.94, -36.04)
CIE-LCHlch(48.58, 36.37, 262.19°)
OKLaboklab(55.39% -0.0521 -0.1021)
OKLCHoklch(55.39% 0.115 243)
XYZxyz(15.5459, 17.2586, 43.5778)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879B0 #B05F28
analogous
#28B0A3 #2879B0 #2835B0
triadic
#2879B0 #B02879 #79B028
tetradic
#2879B0 #A328B0 #B05F28 #35B028
square
#2879B0 #A328B0 #B05F28 #35B028
split-complementary
#2879B0 #B02835 #B0A328
monochromatic
#11344C #1D577E #2879B0 #4199D4 #73B4DF

Accessibility & contrast

On white

4.72
#2879B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2879B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2879B0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879B0#FFFFFF#000000##FFFFFF
##2879B01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB2
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2879b0;
/* rgb */ color: rgb(40, 121, 176);
/* oklch */ color: oklch(55.4% 0.115 243.0);
Tailwind
colors: {
  custom: {
    50: '#769fc8',
    500: '#2879b0',
    950: '#000000',
  },
}
SCSS
$custom: #2879b0;
$custom-light: #769fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2879b0",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 176
  },
  "hsl": {
    "h": 204.265,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.11466,
    "h": 243
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#2879B0
secondary
#C6916D
accent
#8442E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2879B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2879B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva