#2876C4#2876C4

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

Color values

HEX#2876C4
RGBrgb(40, 118, 196)
HSLhsl(210, 66%, 46%)
HSVhsv(210, 80%, 77%)
CMYKcmyk(79.6%, 39.8%, 0%, 23.1%)
CIE-LABlab(48.75, 4.34, -47.31)
CIE-LCHlch(48.75, 47.51, 275.24°)
OKLaboklab(55.87% -0.0439 -0.1352)
OKLCHoklch(55.87% 0.142 252)
XYZxyz(17.3135, 17.3914, 54.6582)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876C4 #C47628
analogous
#28C4C4 #2876C4 #2828C4
triadic
#2876C4 #C42876 #76C428
tetradic
#2876C4 #C428C4 #C47628 #28C428
square
#2876C4 #C428C4 #C47628 #28C428
split-complementary
#2876C4 #C42828 #C4C428
monochromatic
#13395E #1E5791 #2876C4 #4E95DB #81B3E5

Accessibility & contrast

On white

4.69
#2876C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2876C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876C4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876C4#FFFFFF#000000##FFFFFF
##2876C41.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507BC7
Deuteranopia (green-blind)
#376DC2
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2876c4;
/* rgb */ color: rgb(40, 118, 196);
/* oklch */ color: oklch(55.9% 0.142 252.0);
Tailwind
colors: {
  custom: {
    50: '#7a9dd6',
    500: '#2876c4',
    950: '#000000',
  },
}
SCSS
$custom: #2876c4;
$custom-light: #7a9dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2876c4",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 196
  },
  "hsl": {
    "h": 210,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55868,
    "c": 0.14214,
    "h": 252
  },
  "luminance": 0.17394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2876C4

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

Preview Lab → · Contrast checker → · Palette generator →

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