#2876B1#2876B1

#2876B1 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.7% C 0.118 H 245.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2876B1
RGBrgb(40, 118, 177)
HSLhsl(206, 63%, 43%)
HSVhsv(206, 77%, 69%)
CMYKcmyk(77.4%, 33.3%, 0%, 30.6%)
CIE-LABlab(47.73, -2.78, -37.97)
CIE-LCHlch(47.73, 38.07, 265.82°)
OKLaboklab(54.73% -0.0489 -0.1078)
OKLCHoklch(54.73% 0.118 245.6)
XYZxyz(15.2863, 16.5805, 43.9812)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876B1 #B16328
analogous
#28B1A7 #2876B1 #2832B1
triadic
#2876B1 #B12876 #76B128
tetradic
#2876B1 #A728B1 #B16328 #32B128
square
#2876B1 #A728B1 #B16328 #32B128
split-complementary
#2876B1 #B12832 #B1A728
monochromatic
#11334D #1D557F #2876B1 #4295D4 #74B1E0

Accessibility & contrast

On white

4.87
#2876B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2876B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876B1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876B1#FFFFFF#000000##FFFFFF
##2876B11.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B78B4
Deuteranopia (green-blind)
#476CB0
Tritanopia (blue-blind)
#00848B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2876b1;
/* rgb */ color: rgb(40, 118, 177);
/* oklch */ color: oklch(54.7% 0.118 245.6);
Tailwind
colors: {
  custom: {
    50: '#769dc8',
    500: '#2876b1',
    950: '#000000',
  },
}
SCSS
$custom: #2876b1;
$custom-light: #769dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2876b1",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 177
  },
  "hsl": {
    "h": 205.839,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.11842,
    "h": 245.6
  },
  "luminance": 0.16582
}

Semantic roles & 50–950 ramp

primary
#2876B1
secondary
#C7946E
accent
#8842E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2876B1

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

Preview Lab → · Contrast checker → · Palette generator →

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