#2879B1#2879B1

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

Color values

HEX#2879B1
RGBrgb(40, 121, 177)
HSLhsl(205, 63%, 43%)
HSVhsv(205, 77%, 69%)
CMYKcmyk(77.4%, 31.6%, 0%, 30.6%)
CIE-LABlab(48.63, -4.57, -36.54)
CIE-LCHlch(48.63, 36.82, 262.87°)
OKLaboklab(55.45% -0.0518 -0.1036)
OKLCHoklch(55.45% 0.116 243.5)
XYZxyz(15.6452, 17.2983, 44.1008)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879B1 #B16028
analogous
#28B1A5 #2879B1 #2834B1
triadic
#2879B1 #B12879 #79B128
tetradic
#2879B1 #A528B1 #B16028 #34B128
square
#2879B1 #A528B1 #B16028 #34B128
split-complementary
#2879B1 #B12834 #B1A528
monochromatic
#11354D #1D577F #2879B1 #4298D4 #74B4E0

Accessibility & contrast

On white

4.71
#2879B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2879B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2879B1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879B1#FFFFFF#000000##FFFFFF
##2879B11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB3
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2879b1;
/* rgb */ color: rgb(40, 121, 177);
/* oklch */ color: oklch(55.4% 0.116 243.5);
Tailwind
colors: {
  custom: {
    50: '#769fc8',
    500: '#2879b1',
    950: '#000000',
  },
}
SCSS
$custom: #2879b1;
$custom-light: #769fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2879b1",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 177
  },
  "hsl": {
    "h": 204.526,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.11582,
    "h": 243.5
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#2879B1
secondary
#C7926E
accent
#8542E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2879B1

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

Preview Lab → · Contrast checker → · Palette generator →

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