#2876B3#2876B3

#2876B3 is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 54.8% C 0.121 H 246.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2876B3
RGBrgb(40, 118, 179)
HSLhsl(206, 63%, 43%)
HSVhsv(206, 78%, 70%)
CMYKcmyk(77.7%, 34.1%, 0%, 29.8%)
CIE-LABlab(47.83, -2.03, -38.97)
CIE-LCHlch(47.83, 39.02, 267.01°)
OKLaboklab(54.85% -0.0483 -0.1107)
OKLCHoklch(54.85% 0.121 246.4)
XYZxyz(15.4871, 16.6608, 45.0387)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876B3 #B36528
analogous
#28B3AA #2876B3 #2830B3
triadic
#2876B3 #B32876 #76B328
tetradic
#2876B3 #AA28B3 #B36528 #30B328
square
#2876B3 #AA28B3 #B36528 #30B328
split-complementary
#2876B3 #B32830 #B3AA28
monochromatic
#12344F #1D5581 #2876B3 #4395D5 #75B1E0

Accessibility & contrast

On white

4.85
#2876B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2876B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876B3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876B3#FFFFFF#000000##FFFFFF
##2876B31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B6
Deuteranopia (green-blind)
#466CB2
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2876b3;
/* rgb */ color: rgb(40, 118, 179);
/* oklch */ color: oklch(54.8% 0.121 246.4);
Tailwind
colors: {
  custom: {
    50: '#779dca',
    500: '#2876b3',
    950: '#000000',
  },
}
SCSS
$custom: #2876b3;
$custom-light: #779dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2876b3",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 179
  },
  "hsl": {
    "h": 206.331,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54847,
    "c": 0.12083,
    "h": 246.4
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#2876B3
secondary
#C8966F
accent
#8A41E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2876B3

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

Preview Lab → · Contrast checker → · Palette generator →

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