#2876B0#2876B0

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

Color values

HEX#2876B0
RGBrgb(40, 118, 176)
HSLhsl(206, 63%, 42%)
HSVhsv(206, 77%, 69%)
CMYKcmyk(77.3%, 33%, 0%, 31%)
CIE-LABlab(47.68, -3.15, -37.47)
CIE-LCHlch(47.68, 37.60, 265.20°)
OKLaboklab(54.68% -0.0492 -0.1064)
OKLCHoklch(54.68% 0.117 245.2)
XYZxyz(15.1870, 16.5408, 43.4582)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876B0 #B06228
analogous
#28B0A6 #2876B0 #2832B0
triadic
#2876B0 #B02876 #76B028
tetradic
#2876B0 #A628B0 #B06228 #32B028
square
#2876B0 #A628B0 #B06228 #32B028
split-complementary
#2876B0 #B02832 #B0A628
monochromatic
#11334C #1D557E #2876B0 #4195D4 #73B1DF

Accessibility & contrast

On white

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

On black

4.31
#2876B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2876B0#FFFFFF#000000##FFFFFF
##2876B01.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B78B2
Deuteranopia (green-blind)
#486BAF
Tritanopia (blue-blind)
#00848B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2876b0;
/* rgb */ color: rgb(40, 118, 176);
/* oklch */ color: oklch(54.7% 0.117 245.2);
Tailwind
colors: {
  custom: {
    50: '#769dc8',
    500: '#2876b0',
    950: '#000000',
  },
}
SCSS
$custom: #2876b0;
$custom-light: #769dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2876b0",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 176
  },
  "hsl": {
    "h": 205.588,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.11721,
    "h": 245.2
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2876B0

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

Preview Lab → · Contrast checker → · Palette generator →

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