#2876C5#2876C5

#2876C5 is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 55.9% C 0.143 H 252.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2876C5
RGBrgb(40, 118, 197)
HSLhsl(210, 66%, 46%)
HSVhsv(210, 80%, 77%)
CMYKcmyk(79.7%, 40.1%, 0%, 22.7%)
CIE-LABlab(48.81, 4.72, -47.80)
CIE-LCHlch(48.81, 48.03, 275.64°)
OKLaboklab(55.93% -0.0436 -0.1366)
OKLCHoklch(55.93% 0.143 252.3)
XYZxyz(17.4277, 17.4371, 55.2597)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876C5 #C57728
analogous
#28C5C5 #2876C5 #2828C5
triadic
#2876C5 #C52876 #76C528
tetradic
#2876C5 #C528C5 #C57728 #28C528
square
#2876C5 #C528C5 #C57728 #28C528
split-complementary
#2876C5 #C52828 #C5C528
monochromatic
#13395F #1E5892 #2876C5 #4F95DB #82B3E6

Accessibility & contrast

On white

4.68
#2876C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2876C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876C5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876C5#FFFFFF#000000##FFFFFF
##2876C51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507CC8
Deuteranopia (green-blind)
#366DC3
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2876c5;
/* rgb */ color: rgb(40, 118, 197);
/* oklch */ color: oklch(55.9% 0.143 252.3);
Tailwind
colors: {
  custom: {
    50: '#7a9dd7',
    500: '#2876c5',
    950: '#000000',
  },
}
SCSS
$custom: #2876c5;
$custom-light: #7a9dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2876c5",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 197
  },
  "hsl": {
    "h": 210.191,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.14342,
    "h": 252.3
  },
  "luminance": 0.17439
}

Semantic roles & 50–950 ramp

primary
#2876C5
secondary
#CEA57A
accent
#943FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2876C5

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

Preview Lab → · Contrast checker → · Palette generator →

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